Mercurial > hg > octave-terminal
changeset 128:ef32610d62cd
[project @ 1993-09-27 06:20:45 by jwe]
author | jwe |
---|---|
date | Mon, 27 Sep 1993 06:20:45 +0000 |
parents | 6b0d086bd313 |
children | c8f575fdcc91 |
files | octMakefile.in |
diffstat | 1 files changed, 18 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/octMakefile.in +++ b/octMakefile.in @@ -119,6 +119,9 @@ rm -f *.a Makefile config.status .PHONY: realclean +# Now that things are under RCS control, we need to do the recursive +# chmod so that the distributed files end up with reasonable modes. + local-dist: octave.info INSTALL.info BUGS.info echo octave-local-$(version) > .fname rm -rf `cat .fname` @@ -127,7 +130,10 @@ for dir in $(DISTDIRS); do ln -s ../$$dir `cat .fname`; done for dir in $(DISTSUBDIRS); do mkdir `cat .fname`/$$dir; cd $$dir; $(MAKE) $@; cd ..; done tar chf `cat .fname`.tar `cat .fname` - rm -rf `cat .fname` .fname + rm -rf `cat .fname` + tar xf `cat .fname`.tar + chmod a+rwX `cat .fname` + tar cf `cat .fname`.tar `cat .fname` .PHONY: local-dist links-for-dist: octave.info INSTALL.info BUGS.info @@ -151,27 +157,35 @@ strip src/octave ln src/octave `cat .fname`/octave tar chf `cat .fname`.tar `cat .fname` + rm -rf `cat .fname` + tar xf `cat .fname`.tar + chmod -R a+rwX `cat .fname` + tar cf `cat .fname`.tar `cat .fname` rm -rf `cat .fname` .fname .PHONY: binary-dist dist: links-for-dist tar chf `cat .fname`.tar `cat .fname` + rm -rf `cat .fname` + tar xf `cat .fname`.tar + chmod -R a+rwX `cat .fname` + tar cf `cat .fname`.tar `cat .fname` rm -rf `cat .fname` .fname .PHONY: dist dist-z: - echo octave-$(versin).tar > .fname + echo octave-$(version).tar > .fname gzip --best `cat .fname` .PHONY: dist-z split-dist: - echo octave-$(version).tar.z > .fname + echo octave-$(version).tar.gz > .fname split -b 1350k `cat .fname` `cat .fname`- rm -f .fname .PHONY: split-dist split-local-dist: - echo octave-local-$(version).tar.z > .fname + echo octave-local-$(version).tar.gz > .fname split -b 1350k `cat .fname` `cat .fname`- rm -f .fname .PHONY: split-local-dist