Mercurial > hg > octave-lyh
changeset 6358:61091f4af6e4
[project @ 2007-02-26 20:46:22 by jwe]
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -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 +++ b/dlfcn/Makefile.in @@ -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 +++ b/doc/ChangeLog @@ -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 +++ b/doc/Makefile.in @@ -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 +++ b/doc/faq/Makefile.in @@ -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 +++ b/doc/interpreter/Makefile.in @@ -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 +++ b/doc/liboctave/Makefile.in @@ -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 +++ b/doc/refcard/Makefile.in @@ -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 +++ b/emacs/Makefile.in @@ -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 +++ b/examples/Makefile.in @@ -87,5 +87,5 @@ .PHONY: maintainer-clean dist: - ln $(DISTFILES) ../`cat ../.fname`/examples + $(LN_S) $(DISTFILES) ../`cat ../.fname`/examples .PHONY: dist
--- a/libcruft/ChangeLog +++ b/libcruft/ChangeLog @@ -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 +++ b/libcruft/Makefile.in @@ -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 +++ b/libcruft/Makerules.in @@ -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 +++ b/liboctave/ChangeLog @@ -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 +++ b/liboctave/Makefile.in @@ -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 +++ b/octMakefile.in @@ -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 +++ b/scripts/ChangeLog @@ -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 +++ b/scripts/Makefile.in @@ -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 +++ b/scripts/audio/Makefile.in @@ -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 +++ b/scripts/control/Makefile.in @@ -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 +++ b/scripts/control/base/Makefile.in @@ -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 +++ b/scripts/control/hinf/Makefile.in @@ -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 +++ b/scripts/control/obsolete/Makefile.in @@ -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 +++ b/scripts/control/system/Makefile.in @@ -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 +++ b/scripts/control/util/Makefile.in @@ -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 +++ b/scripts/deprecated/Makefile.in @@ -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 +++ b/scripts/elfun/Makefile.in @@ -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 +++ b/scripts/finance/Makefile.in @@ -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 +++ b/scripts/general/Makefile.in @@ -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 +++ b/scripts/image/Makefile.in @@ -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 +++ b/scripts/io/Makefile.in @@ -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 +++ b/scripts/linear-algebra/Makefile.in @@ -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 +++ b/scripts/miscellaneous/Makefile.in @@ -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 +++ b/scripts/optimization/Makefile.in @@ -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 +++ b/scripts/path/Makefile.in @@ -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 +++ b/scripts/pkg/Makefile.in @@ -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 +++ b/scripts/plot/Makefile.in @@ -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 +++ b/scripts/polynomial/Makefile.in @@ -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 +++ b/scripts/quaternion/Makefile.in @@ -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 +++ b/scripts/set/Makefile.in @@ -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 +++ b/scripts/signal/Makefile.in @@ -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 +++ b/scripts/sparse/Makefile.in @@ -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 +++ b/scripts/specfun/Makefile.in @@ -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 +++ b/scripts/special-matrix/Makefile.in @@ -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 +++ b/scripts/startup/Makefile.in @@ -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 +++ b/scripts/statistics/Makefile.in @@ -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 +++ b/scripts/statistics/base/Makefile.in @@ -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 +++ b/scripts/statistics/distributions/Makefile.in @@ -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 +++ b/scripts/statistics/models/Makefile.in @@ -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 +++ b/scripts/statistics/tests/Makefile.in @@ -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 +++ b/scripts/strings/Makefile.in @@ -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 +++ b/scripts/testfun/Makefile.in @@ -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 +++ b/scripts/time/Makefile.in @@ -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 +++ b/src/ChangeLog @@ -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 +++ b/src/Makefile.in @@ -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.