changeset 6358:61091f4af6e4

[project @ 2007-02-26 20:46:22 by jwe]
author jwe
date Mon, 26 Feb 2007 20:46:24 +0000
parents d93787dbedec
children 069ea93b3c45
files ChangeLog dlfcn/Makefile.in doc/ChangeLog doc/Makefile.in doc/faq/Makefile.in doc/interpreter/Makefile.in doc/liboctave/Makefile.in doc/refcard/Makefile.in emacs/Makefile.in examples/Makefile.in libcruft/ChangeLog libcruft/Makefile.in libcruft/Makerules.in liboctave/ChangeLog liboctave/Makefile.in octMakefile.in scripts/ChangeLog scripts/Makefile.in scripts/audio/Makefile.in scripts/control/Makefile.in scripts/control/base/Makefile.in scripts/control/hinf/Makefile.in scripts/control/obsolete/Makefile.in scripts/control/system/Makefile.in scripts/control/util/Makefile.in scripts/deprecated/Makefile.in scripts/elfun/Makefile.in scripts/finance/Makefile.in scripts/general/Makefile.in scripts/image/Makefile.in scripts/io/Makefile.in scripts/linear-algebra/Makefile.in scripts/miscellaneous/Makefile.in scripts/optimization/Makefile.in scripts/path/Makefile.in scripts/pkg/Makefile.in scripts/plot/Makefile.in scripts/polynomial/Makefile.in scripts/quaternion/Makefile.in scripts/set/Makefile.in scripts/signal/Makefile.in scripts/sparse/Makefile.in scripts/specfun/Makefile.in scripts/special-matrix/Makefile.in scripts/startup/Makefile.in scripts/statistics/Makefile.in scripts/statistics/base/Makefile.in scripts/statistics/distributions/Makefile.in scripts/statistics/models/Makefile.in scripts/statistics/tests/Makefile.in scripts/strings/Makefile.in scripts/testfun/Makefile.in scripts/time/Makefile.in src/ChangeLog src/Makefile.in test/ChangeLog test/Makefile.in
diffstat 57 files changed, 117 insertions(+), 69 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Feb 26 20:24:51 2007 +0000
+++ b/ChangeLog	Mon Feb 26 20:46:24 2007 +0000
@@ -1,3 +1,14 @@
+2007-02-26  John W. Eaton  <jwe@octave.org>
+
+	* octMakefile.in (DISTDIRS): Eliminate variable.
+
+2007-02-26  From Michael Goffioul  <michael.goffioul@swing.be>
+
+	* octMakefile.in, dlfcn/Makefile.in, emacs/Makefile.in:
+	Use $(LN_S) instead of ln or ln -s.
+
+	* octMakefile.in (dist): Use -9 instead of --best with gzip/bzip2.
+
 2007-02-21  John W. Eaton  <jwe@octave.org>
 
 	* configure.in: Also warn about missing functionality for
--- a/dlfcn/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/dlfcn/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -67,11 +67,11 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../`cat ../.fname`/dlfcn
+	$(LN_S) $(DISTFILES) ../`cat ../.fname`/dlfcn
 .PHONY: dist
 
 conf-dist:
-	ln octave.cc Makefile.in ../`cat ../.fname`/dlfcn
+	$(LN_S) octave.cc Makefile.in ../`cat ../.fname`/dlfcn
 .PHONY: conf-dist
 
 ifndef omit_deps
--- a/doc/ChangeLog	Mon Feb 26 20:24:51 2007 +0000
+++ b/doc/ChangeLog	Mon Feb 26 20:46:24 2007 +0000
@@ -1,3 +1,9 @@
+2007-02-26  From Michael Goffioul  <michael.goffioul@swing.be>
+
+	* Makefile.in, interpreter/Makefile.in, faq/Makefile.in,
+	liboctave/Makefile.in, refcard/Makefile.in:
+	Use $(LN_S) instead of ln or ln -s.
+
 2007-02-21  David Bateman  <dbateman@free.fr>
 
 	* interpreter/sparse.txi: Add functions sprank and normest to
--- a/doc/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/doc/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -61,6 +61,6 @@
 	rm -f tags TAGS Makefile
 
 dist: conf.texi
-	ln $(DISTFILES) ../`cat ../.fname`/doc
+	$(LN_S) $(DISTFILES) ../`cat ../.fname`/doc
 	for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/doc/$$dir; $(MAKE) -C $$dir $@; done
 .PHONY: dist
--- a/doc/faq/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/doc/faq/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -85,6 +85,6 @@
 .PHONY: maintainer-clean
 
 dist: all
-	ln $(DISTFILES) ../../`cat ../../.fname`/doc/faq
-	for dir in $(DISTDIRS); do ln -s ../../../doc/faq/$$dir ../../`cat ../../.fname`/doc/faq/$$dir; done
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/doc/faq
+	for dir in $(DISTDIRS); do $(LN_S) ../../doc/faq/$$dir ../../`cat ../../.fname`/doc/faq/$$dir; done
 .PHONY: dist
--- a/doc/interpreter/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/doc/interpreter/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -246,7 +246,7 @@
 .PHONY: clean-texi
 
 dist: clean-texi all
-	ln $(DISTFILES) ../../`cat ../../.fname`/doc/interpreter
-	for dir in $(DISTDIRS); do ln -s ../../../doc/interpreter/$$dir ../../`cat ../../.fname`/doc/interpreter/$$dir; done
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/doc/interpreter
+	for dir in $(DISTDIRS); do $(LN_S) ../../doc/interpreter/$$dir ../../`cat ../../.fname`/doc/interpreter/$$dir; done
 	for dir in $(DISTSUBDIRS); do mkdir ../../`cat ../../.fname`/doc/interpreter/$$dir; $(MAKE) -C $$dir $@; done
 .PHONY: dist
--- a/doc/liboctave/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/doc/liboctave/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -101,6 +101,6 @@
 .PHONY: maintainer-clean
 
 dist: all
-	ln $(DISTFILES) ../../`cat ../../.fname`/doc/liboctave
-	for dir in $(DISTDIRS); do ln -s ../../../doc/liboctave/$$dir ../../`cat ../../.fname`/doc/liboctave/$$dir; done
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/doc/liboctave
+	for dir in $(DISTDIRS); do $(LN_S) ../../doc/liboctave/$$dir ../../`cat ../../.fname`/doc/liboctave/$$dir; done
 .PHONY: dist
--- a/doc/refcard/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/doc/refcard/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -77,5 +77,5 @@
 .PHONY: maintainer-clean
 
 dist: all
-	ln $(DISTFILES) ../../`cat ../../.fname`/doc/refcard
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/doc/refcard
 .PHONY: dist
--- a/emacs/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/emacs/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -54,5 +54,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../`cat ../.fname`/emacs
+	$(LN_S) $(DISTFILES) ../`cat ../.fname`/emacs
 .PHONY: dist
--- a/examples/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/examples/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -87,5 +87,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../`cat ../.fname`/examples
+	$(LN_S) $(DISTFILES) ../`cat ../.fname`/examples
 .PHONY: dist
--- a/libcruft/ChangeLog	Mon Feb 26 20:24:51 2007 +0000
+++ b/libcruft/ChangeLog	Mon Feb 26 20:46:24 2007 +0000
@@ -1,3 +1,7 @@
+2007-02-26  From Michael Goffioul  <michael.goffioul@swing.be>
+
+	* Makefile.in, Makerules.in: Use $(LN_S) instead of ln or ln -s.
+
 2007-02-07  John W. Eaton  <jwe@octave.org>
 
 	* Makerules.in: Don't use wildcard function to generate source
--- a/libcruft/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/libcruft/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -186,7 +186,7 @@
 
 dist:
 	for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/libcruft/$$dir; $(MAKE) -C $$dir $@; done
-	ln $(DISTFILES) ../`cat ../.fname`/libcruft
+	$(LN_S) $(DISTFILES) ../`cat ../.fname`/libcruft
 .PHONY: dist
 
 .NOTPARALLEL:
--- a/libcruft/Makerules.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/libcruft/Makerules.in	Mon Feb 26 20:46:24 2007 +0000
@@ -102,5 +102,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(EXTERNAL_DISTFILES) ../../`cat ../../.fname`/libcruft/$(THISDIR)
+	$(LN_S) $(EXTERNAL_DISTFILES) ../../`cat ../../.fname`/libcruft/$(THISDIR)
 .PHONY: dist
--- a/liboctave/ChangeLog	Mon Feb 26 20:24:51 2007 +0000
+++ b/liboctave/ChangeLog	Mon Feb 26 20:46:24 2007 +0000
@@ -1,3 +1,7 @@
+2007-02-26  From Michael Goffioul  <michael.goffioul@swing.be>
+
+	* Makefile.in: Use $(LN_S) instead of ln or ln -s.
+
 2007-02-18  David Bateman  <dbateman@free.fr>
 
 	* oct-rand.cc (do_old_initialization()): call setcgn(1) prior to
--- a/liboctave/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/liboctave/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -331,8 +331,8 @@
 .PHONY: maintainer-clean
 
 dist: stamp-prereq
-	ln $(DISTFILES) ../`cat ../.fname`/liboctave
-	for dir in $(DISTDIRS); do ln -s ../../liboctave/$$dir ../`cat ../.fname`/liboctave; done
+	$(LN_S) $(DISTFILES) ../`cat ../.fname`/liboctave
+	for dir in $(DISTDIRS); do $(LN_S) ../../liboctave/$$dir ../`cat ../.fname`/liboctave; done
 .PHONY: dist
 
 $(OPTS_INC) : %.h : %.in $(top_srcdir)/mk-opts.pl
--- a/octMakefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/octMakefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -27,14 +27,12 @@
 DISTFILES = $(CONF_DISTFILES) \
 	BUGS COPYING FLEX.patch INSTALL INSTALL.OCTAVE NEWS \
 	NEWS.[0-9] PROJECTS README README.Linux README.Windows \
+	README.Cygwin README.MSVC \
 	README.MachTen README.kpathsea ROADMAP SENDING-PATCHES \
 	THANKS move-if-change octave-sh octave-bug.in \
 	octave-config.in mk-opts.pl mkinstalldirs \
 	mkoctfile.in run-octave.in gdbinit.in ChangeLog ChangeLog.[0-9]
 
-# Complete directory trees to distribute.
-DISTDIRS = # plplot
-
 # Subdirectories in which to run `make all'.
 SUBDIRS = @DLFCN_DIR@ libcruft liboctave src scripts doc examples
 
@@ -45,8 +43,7 @@
 CONF_DISTSUBDIRS = src
 
 # Subdirectories in which to run `make dist'.
-DISTSUBDIRS_1 = $(sort $(SUBDIRS) dlfcn test emacs)
-DISTSUBDIRS = $(filter-out $(DISTDIRS), $(DISTSUBDIRS_1))
+DISTSUBDIRS = $(sort $(SUBDIRS) dlfcn test emacs)
 
 # Subdirectories in which to run clean targets.
 CLEANSUBDIRS = $(DISTSUBDIRS)
@@ -166,8 +163,7 @@
 	echo octave-$(version) > .fname
 	rm -rf `cat .fname`
 	mkdir `cat .fname`
-	ln $(DISTFILES) `cat .fname`
-	for dir in $(DISTDIRS); do ln -s ../$$dir `cat .fname`; done
+	$(LN_S) $(DISTFILES) `cat .fname`
 	for dir in $(DISTSUBDIRS); do \
 	  mkdir `cat .fname`/$$dir; \
 	  $(MAKE) -C $$dir dist; \
@@ -186,8 +182,8 @@
 	chmod -R a+rwX `cat .fname`
 	tar cf `cat .fname`.tar `cat .fname`
 	rm -rf `cat .fname`
-	gzip --best --stdout `cat .fname`.tar > `cat .fname`.tar.gz
-	bzip2 --best --stdout `cat .fname`.tar > `cat .fname`.tar.bz2
+	gzip -9 --stdout `cat .fname`.tar > `cat .fname`.tar.gz
+	bzip2 -9 --stdout `cat .fname`.tar > `cat .fname`.tar.bz2
 	date -u > md5sum
 	md5sum `cat .fname`.tar.gz `cat .fname`.tar.bz2 >> md5sum
 	touch `cat .fname`.tar.gz `cat .fname`.tar.bz2 md5sum
@@ -219,7 +215,7 @@
 	echo config-dist-$(version) > .fname
 	rm -rf `cat .fname`
 	mkdir `cat .fname`
-	ln $(CONF_DISTFILES) `cat .fname`
+	$(LN_S) $(CONF_DISTFILES) `cat .fname`
 	for dir in $(CONF_DISTSUBDIRS); do \
 	  mkdir `cat .fname`/$$dir; \
 	  $(MAKE) -C $$dir conf-dist; \
--- a/scripts/ChangeLog	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/ChangeLog	Mon Feb 26 20:46:24 2007 +0000
@@ -1,3 +1,22 @@
+2007-02-26  From Michael Goffioul  <michael.goffioul@swing.be>
+
+	* Makefile.in, audio/Makefile.in, control/Makefile.in,
+	control/base/Makefile.in, control/hinf/Makefile.in,
+	control/obsolete/Makefile.in, control/system/Makefile.in,
+	control/util/Makefile.in, deprecated/Makefile.in,
+	elfun/Makefile.in, finance/Makefile.in, general/Makefile.in,
+	image/Makefile.in, io/Makefile.in, linear-algebra/Makefile.in,
+	miscellaneous/Makefile.in, optimization/Makefile.in,
+	path/Makefile.in, pkg/Makefile.in, plot/Makefile.in,
+	polynomial/Makefile.in, quaternion/Makefile.in, set/Makefile.in,
+	signal/Makefile.in, sparse/Makefile.in, specfun/Makefile.in,
+	special-matrix/Makefile.in, startup/Makefile.in,
+	statistics/Makefile.in, statistics/base/Makefile.in,
+	statistics/distributions/Makefile.in,
+	statistics/models/Makefile.in, statistics/tests/Makefile.in,
+	strings/Makefile.in, testfun/Makefile.in, time/Makefile.in:
+	Use $(LN_S) instead of ln or ln -s.
+
 2007-02-24  David Bateman  <dbateman@free.fr>
 
 	* pkg/pkg.m (configure_make): Ignore blank lines and trailing
--- a/scripts/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -85,6 +85,6 @@
 	rm -f tags TAGS configure
 
 dist:
-	ln $(DISTFILES) ../`cat ../.fname`/scripts
+	$(LN_S) $(DISTFILES) ../`cat ../.fname`/scripts
 	for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/scripts/$$dir; $(MAKE) -C $$dir $@; done
 .PHONY: dist
--- a/scripts/audio/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/audio/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -64,5 +64,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/audio
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/audio
 .PHONY: dist
--- a/scripts/control/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/control/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -48,6 +48,6 @@
 	rm -f tags TAGS Makefile
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/control
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/control
 	for dir in $(DISTSUBDIRS); do mkdir ../../`cat ../../.fname`/scripts/control/$$dir; $(MAKE) -C $$dir $@; done
 .PHONY: dist
--- a/scripts/control/base/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/control/base/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -69,5 +69,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
+	$(LN_S) $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
 .PHONY: dist
--- a/scripts/control/hinf/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/control/hinf/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -65,5 +65,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
+	$(LN_S) $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
 .PHONY: dist
--- a/scripts/control/obsolete/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/control/obsolete/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -64,5 +64,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
+	$(LN_S) $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
 .PHONY: dist
--- a/scripts/control/system/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/control/system/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -77,5 +77,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
+	$(LN_S) $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
 .PHONY: dist
--- a/scripts/control/util/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/control/util/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -65,5 +65,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
+	$(LN_S) $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
 .PHONY: dist
--- a/scripts/deprecated/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/deprecated/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -81,5 +81,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/deprecated
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/deprecated
 .PHONY: dist
--- a/scripts/elfun/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/elfun/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -66,5 +66,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/elfun
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/elfun
 .PHONY: dist
--- a/scripts/finance/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/finance/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -63,5 +63,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/finance
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/finance
 .PHONY: dist
--- a/scripts/general/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/general/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -73,5 +73,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/general
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/general
 .PHONY: dist
--- a/scripts/image/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/image/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -80,5 +80,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/image
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/image
 .PHONY: dist
--- a/scripts/io/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/io/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -63,5 +63,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/io
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/io
 .PHONY: dist
--- a/scripts/linear-algebra/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/linear-algebra/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -65,5 +65,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/linear-algebra
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/linear-algebra
 .PHONY: dist
--- a/scripts/miscellaneous/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/miscellaneous/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -72,5 +72,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/miscellaneous
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/miscellaneous
 .PHONY: dist
--- a/scripts/optimization/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/optimization/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -65,5 +65,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/optimization
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/optimization
 .PHONY: dist
--- a/scripts/path/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/path/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -63,5 +63,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/path
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/path
 .PHONY: dist
--- a/scripts/pkg/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/pkg/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -63,5 +63,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/pkg
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/pkg
 .PHONY: dist
--- a/scripts/plot/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/plot/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -167,7 +167,7 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/plot
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/plot
 .PHONY: dist
 
 $(GEN_M) : %.m : %.in __uiobject_globals__.m
--- a/scripts/polynomial/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/polynomial/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -66,5 +66,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/polynomial
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/polynomial
 .PHONY: dist
--- a/scripts/quaternion/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/quaternion/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -65,5 +65,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/quaternion
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/quaternion
 .PHONY: dist
--- a/scripts/set/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/set/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -64,5 +64,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/set
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/set
 .PHONY: dist
--- a/scripts/signal/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/signal/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -70,5 +70,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/signal
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/signal
 .PHONY: dist
--- a/scripts/sparse/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/sparse/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -66,5 +66,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/sparse
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/sparse
 .PHONY: dist
--- a/scripts/specfun/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/specfun/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -65,5 +65,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/specfun
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/specfun
 .PHONY: dist
--- a/scripts/special-matrix/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/special-matrix/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -64,5 +64,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/special-matrix
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/special-matrix
 .PHONY: dist
--- a/scripts/startup/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/startup/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -86,5 +86,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/startup
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/startup
 .PHONY: dist
--- a/scripts/statistics/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/statistics/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -48,6 +48,6 @@
 	rm -f tags TAGS Makefile
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/statistics
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/statistics
 	for dir in $(DISTSUBDIRS); do mkdir ../../`cat ../../.fname`/scripts/statistics/$$dir; $(MAKE) -C $$dir $@; done
 .PHONY: dist
--- a/scripts/statistics/base/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/statistics/base/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -67,5 +67,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
+	$(LN_S) $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
 .PHONY: dist
--- a/scripts/statistics/distributions/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/statistics/distributions/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -79,5 +79,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
+	$(LN_S) $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
 .PHONY: dist
--- a/scripts/statistics/models/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/statistics/models/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -64,5 +64,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
+	$(LN_S) $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
 .PHONY: dist
--- a/scripts/statistics/tests/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/statistics/tests/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -69,5 +69,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
+	$(LN_S) $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir)
 .PHONY: dist
--- a/scripts/strings/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/strings/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -67,5 +67,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/strings
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/strings
 .PHONY: dist
--- a/scripts/testfun/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/testfun/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -63,5 +63,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/testfun
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/testfun
 .PHONY: dist
--- a/scripts/time/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/scripts/time/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -65,5 +65,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/time
+	$(LN_S) $(DISTFILES) ../../`cat ../../.fname`/scripts/time
 .PHONY: dist
--- a/src/ChangeLog	Mon Feb 26 20:24:51 2007 +0000
+++ b/src/ChangeLog	Mon Feb 26 20:46:24 2007 +0000
@@ -1,3 +1,7 @@
+2007-02-26  From Michael Goffioul  <michael.goffioul@swing.be>
+
+	* Makefile.in: Use $(LN_S) instead of ln or ln -s.
+
 2007-02-25  John W. Eaton  <jwe@octave.org>
 
 	* DLD-FUNCTIONS/interpn.cc: Include dNDArray.h, not dMatrix.cc.
--- a/src/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/src/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -494,7 +494,7 @@
 .PHONY: maintainer-clean
 
 dist: parse.cc lex.cc oct-gperf.h
-	ln $(DISTFILES) ../`cat ../.fname`/src
+	$(LN_S) $(DISTFILES) ../`cat ../.fname`/src
 	for f in DLD-FUNCTIONS OPERATORS TEMPLATE-INST; do \
 	  if [ -d ../`cat ../.fname`/src/$$f ]; then \
 	    true; \
@@ -502,16 +502,16 @@
 	    mkdir ../`cat ../.fname`/src/$$f; \
 	  fi; \
 	done
-	ln $(DLD_SRC) ../`cat ../.fname`/src/DLD-FUNCTIONS
-	ln $(OP_SRC) ../`cat ../.fname`/src/OPERATORS
-	ln $(OP_INCLUDES) ../`cat ../.fname`/src/OPERATORS
-	ln $(TI_SRC) ../`cat ../.fname`/src/TEMPLATE-INST
+	$(LN_S) $(DLD_SRC) ../`cat ../.fname`/src/DLD-FUNCTIONS
+	$(LN_S) $(OP_SRC) ../`cat ../.fname`/src/OPERATORS
+	$(LN_S) $(OP_INCLUDES) ../`cat ../.fname`/src/OPERATORS
+	$(LN_S) $(TI_SRC) ../`cat ../.fname`/src/TEMPLATE-INST
 	rm -f parse.cc lex.cc y.tab.h y.output yy.lex.c
 	rm -f oct-gperf.h defaults.h oct-conf.h *.d *.df builtins.cc
 .PHONY: dist
 
 conf-dist:
-	ln octave.cc Makefile.in ../`cat ../.fname`/src
+	$(LN_S) octave.cc Makefile.in ../`cat ../.fname`/src
 .PHONY: conf-dist
 
 # Special rules -- these files need special things to be defined.
--- a/test/ChangeLog	Mon Feb 26 20:24:51 2007 +0000
+++ b/test/ChangeLog	Mon Feb 26 20:46:24 2007 +0000
@@ -1,3 +1,7 @@
+2007-02-26  From Michael Goffioul  <michael.goffioul@swing.be>
+
+	* Makefile.in: Use $(LN_S) instead of ln or ln -s.
+
 2007-02-20  John W. Eaton  <jwe@octave.org>
 
 	* Makefile.in (check): Use --norc instead of --no-site-file.
--- a/test/Makefile.in	Mon Feb 26 20:24:51 2007 +0000
+++ b/test/Makefile.in	Mon Feb 26 20:46:24 2007 +0000
@@ -68,5 +68,5 @@
 .PHONY: maintainer-clean
 
 dist:
-	ln $(DISTFILES) ../`cat ../.fname`/test
+	$(LN_S) $(DISTFILES) ../`cat ../.fname`/test
 .PHONY: dist