head 1.55; access; symbols SHTOOL_2_0_8:1.55 SHTOOL_2_0_7:1.54 SHTOOL_2_0_6:1.52 SHTOOL_2_0_5:1.52 SHTOOL_2_0_4:1.52 SHTOOL_2_0_3:1.51 SHTOOL_2_0_2:1.51 SHTOOL_2_0_1:1.50 SHTOOL_2_0_0:1.50 SHTOOL_2_0b3:1.50 SHTOOL_2_0b2:1.50 SHTOOL_2_0b1:1.50 SHTOOL_1_6:1.46.0.2 SHTOOL_1_6_2:1.46 SHTOOL_1_6_1:1.46 SHTOOL_1_6_0:1.46 SHTOOL_1_5:1.42.0.2 SHTOOL_1_5_4:1.42 SHTOOL_1_5_3:1.41 SHTOOL_1_5_2:1.41 SHTOOL_1_5_1:1.39 SHTOOL_1_5_0:1.39 SHTOOL_1_4_9:1.38 SHTOOL_1_4_8:1.37 SHTOOL_1_4_7:1.36 SHTOOL_1_4_6:1.36 SHTOOL_1_4_5:1.35 SHTOOL_1_4_4:1.30 SHTOOL_1_4_3:1.26 SHTOOL_1_4_2:1.26 SHTOOL_1_4_1:1.26 SHTOOL_1_4_0:1.22 SHTOOL_1_3_3:1.17 SHTOOL_1_3_2:1.17 SHTOOL_1_3_1:1.17 SHTOOL_1_3_0:1.16 SHTOOL_1_2_9:1.6 SHTOOL_1_2_8:1.6 SHTOOL_1_2_7:1.5 SHTOOL_1_2_6:1.5 SHTOOL_1_2_5:1.5 SHTOOL_1_2_4:1.3 SHTOOL_1_2_3:1.3 SHTOOL_1_2_2:1.3 SHTOOL_1_2_1:1.2 SHTOOL_1_2_0:1.1.1.2 SHTOOL_1_1_0:1.1.1.1 RSE:1.1.1; locks; strict; comment @# @; 1.55 date 2008.04.02.20.13.43; author rse; state Exp; branches; next 1.54; commitid eB5Wirx8MdMyDzXs; 1.54 date 2007.05.19.19.09.39; author rse; state Exp; branches; next 1.53; commitid OPUF1UBbllBTwzis; 1.53 date 2007.05.19.19.06.08; author rse; state Exp; branches; next 1.52; commitid WGA9xRFFLAU2wzis; 1.52 date 2006.02.04.09.43.25; author rse; state Exp; branches; next 1.51; commitid oWk7BmnyAitJtfkr; 1.51 date 2005.06.15.08.14.35; author rse; state Exp; branches; next 1.50; 1.50 date 2004.02.12.16.06.26; author rse; state Exp; branches; next 1.49; 1.49 date 2004.01.01.16.54.20; author rse; state Exp; branches; next 1.48; 1.48 date 2003.12.13.21.23.55; author rse; state Exp; branches; next 1.47; 1.47 date 2003.02.11.13.00.49; author rse; state Exp; branches; next 1.46; 1.46 date 2002.02.01.14.58.04; author rse; state Exp; branches; next 1.45; 1.45 date 2001.12.31.15.06.04; author rse; state Exp; branches; next 1.44; 1.44 date 2001.09.23.11.15.57; author rse; state Exp; branches; next 1.43; 1.43 date 2001.06.14.19.02.54; author rse; state Exp; branches; next 1.42; 1.42 date 2001.06.14.14.24.16; author rse; state Exp; branches; next 1.41; 1.41 date 2001.01.17.09.55.11; author rse; state Exp; branches; next 1.40; 1.40 date 2000.10.05.12.15.29; author rse; state Exp; branches; next 1.39; 1.39 date 2000.06.30.16.27.41; author rse; state Exp; branches; next 1.38; 1.38 date 2000.03.15.07.18.31; author rse; state Exp; branches; next 1.37; 1.37 date 2000.03.12.11.12.21; author rse; state Exp; branches; next 1.36; 1.36 date 99.09.05.12.58.55; author rse; state Exp; branches; next 1.35; 1.35 date 99.07.28.06.51.37; author rse; state Exp; branches; next 1.34; 1.34 date 99.07.28.06.46.25; author rse; state Exp; branches; next 1.33; 1.33 date 99.07.27.16.21.51; author rse; state Exp; branches; next 1.32; 1.32 date 99.07.24.15.17.11; author rse; state Exp; branches; next 1.31; 1.31 date 99.07.18.09.15.29; author rse; state Exp; branches; next 1.30; 1.30 date 99.07.17.14.45.45; author rse; state Exp; branches; next 1.29; 1.29 date 99.07.17.14.43.03; author rse; state Exp; branches; next 1.28; 1.28 date 99.07.17.14.40.52; author rse; state Exp; branches; next 1.27; 1.27 date 99.07.17.14.28.40; author rse; state Exp; branches; next 1.26; 1.26 date 99.07.07.14.29.09; author rse; state Exp; branches; next 1.25; 1.25 date 99.07.07.14.03.33; author rse; state Exp; branches; next 1.24; 1.24 date 99.07.07.06.43.03; author rse; state Exp; branches; next 1.23; 1.23 date 99.07.06.09.59.55; author rse; state Exp; branches; next 1.22; 1.22 date 99.07.02.08.49.51; author rse; state Exp; branches; next 1.21; 1.21 date 99.07.02.08.42.09; author rse; state Exp; branches; next 1.20; 1.20 date 99.07.02.07.25.51; author rse; state Exp; branches; next 1.19; 1.19 date 99.07.02.07.24.26; author rse; state Exp; branches; next 1.18; 1.18 date 99.07.01.13.37.29; author rse; state Exp; branches; next 1.17; 1.17 date 99.06.28.07.26.56; author rse; state Exp; branches; next 1.16; 1.16 date 99.06.17.15.50.33; author rse; state Exp; branches; next 1.15; 1.15 date 99.06.17.15.43.19; author rse; state Exp; branches; next 1.14; 1.14 date 99.06.17.15.40.43; author rse; state Exp; branches; next 1.13; 1.13 date 99.06.17.14.39.40; author rse; state Exp; branches; next 1.12; 1.12 date 99.06.17.14.38.41; author rse; state Exp; branches; next 1.11; 1.11 date 99.06.17.07.35.08; author rse; state Exp; branches; next 1.10; 1.10 date 99.06.16.06.59.57; author rse; state Exp; branches; next 1.9; 1.9 date 99.06.15.08.43.26; author rse; state Exp; branches; next 1.8; 1.8 date 99.06.12.14.46.37; author rse; state Exp; branches; next 1.7; 1.7 date 99.06.12.14.08.49; author rse; state Exp; branches; next 1.6; 1.6 date 99.05.28.10.13.57; author rse; state Exp; branches; next 1.5; 1.5 date 99.05.12.15.48.18; author rse; state Exp; branches; next 1.4; 1.4 date 99.05.12.15.41.41; author rse; state Exp; branches; next 1.3; 1.3 date 99.05.05.12.15.52; author rse; state Exp; branches; next 1.2; 1.2 date 99.04.29.11.28.46; author rse; state Exp; branches; next 1.1; 1.1 date 99.04.29.11.19.49; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.04.29.11.19.49; author rse; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 99.04.29.11.20.00; author rse; state Exp; branches; next ; desc @@ 1.55 log @adjust copyright for year 2008 @ text @## ## Makefile for GNU shtool ## Copyright (c) 1999-2008 Ralf S. Engelschall ## ## This file is part of shtool and free software; you can redistribute ## it and/or modify it under the terms of the GNU General Public ## License as published by the Free Software Foundation; either version ## 2 of the License, or (at your option) any later version. ## ## This file is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ## USA, or contact Ralf S. Engelschall . ## @@SET_MAKE@@ TOP = . prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ bindir = @@bindir@@ mandir = @@mandir@@ datarootdir = @@datarootdir@@ datadir = @@datadir@@ aclocaldir = $(datadir)/aclocal pkgdatadir = $(datadir)/shtool DESTDIR = SHELL = /bin/sh PERL = @@PERL@@ POD2MAN = @@POD2MAN@@ RM = rm -f RMDIR = rmdir TRUE = true CP = cp LS = ls SCRIPTS = \ sh.echo \ sh.mdate \ sh.table \ sh.prop \ sh.move \ sh.install \ sh.mkdir \ sh.mkln \ sh.mkshadow \ sh.fixperm \ sh.rotate \ sh.tarball \ sh.subst \ sh.platform \ sh.arx \ sh.slo \ sh.scpp \ sh.version \ sh.path all: shtool manpages shtool: $(SCRIPTS) sh.common shtoolize @@$(SHELL) sh.echo -e "%Bbuilding program shtool%b" ./shtoolize -o shtool all manpages: .timestamp .timestamp: shtoolize.pod shtool.pod $(SCRIPTS) -@@V1=`$(SHELL) sh.version -l txt -d short VERSION`; \ V2=`$(SHELL) sh.version -l txt -d long VERSION`; \ D=`$(SHELL) sh.version -l txt -d long VERSION | sed -e 's;.*(;;' -e 's;).*;;'`; \ for ifile in shtoolize.pod shtool.pod $(SCRIPTS); do \ tfile=`echo "$$ifile" | sed -e 's/\.pod$$/.tmp/' -e 's/^sh\.\(.*\)$$/shtool-\1.tmp/'`; \ ofile=`echo "$$ifile" | sed -e 's/\.pod$$/.1/' -e 's/^sh\.\(.*\)$$/shtool-\1.1/'`; \ cp $$ifile $$tfile; \ $(SHELL) sh.echo -e "%Bbuilding manpage $$ofile%b"; \ $(POD2MAN) --section=1 --center="GNU Portable Shell Tool" \ --release="$$D" --date="shtool $$V1" $$tfile |\ sed -e "s;SHTOOL_VERSION_STR;$$V2;" >$$ofile; \ rm -f $$tfile; \ done; \ touch .timestamp check: test test: all @@$(SHELL) sh.echo -e "%BRunning test suite:%b" @@$(SHELL) test.sh install: all ./shtool mkdir -f -p -m 755 $(DESTDIR)$(prefix) ./shtool mkdir -f -p -m 755 $(DESTDIR)$(bindir) ./shtool mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1 ./shtool mkdir -f -p -m 755 $(DESTDIR)$(aclocaldir) ./shtool mkdir -f -p -m 755 $(DESTDIR)$(pkgdatadir) ./shtool install -c -m 755 shtool $(DESTDIR)$(bindir)/shtool ./shtool install -c -m 755 shtoolize $(DESTDIR)$(bindir)/shtoolize -@@for ifile in shtoolize.pod shtool.pod $(SCRIPTS); do \ ofile=`echo "$$ifile" | sed -e 's/\.pod$$/.1/' -e 's/^sh\.\(.*\)$$/shtool-\1.1/'`; \ echo "./shtool install -c -m 644 $$ofile $(DESTDIR)$(mandir)/man1/$$ofile"; \ ./shtool install -c -m 644 $$ofile $(DESTDIR)$(mandir)/man1/$$ofile; \ done ./shtool install -c -m 644 shtool.m4 $(DESTDIR)$(aclocaldir)/shtool.m4 @@for script in sh.common $(SCRIPTS); do \ echo "./shtool install -c -m 644 $$script $(DESTDIR)$(pkgdatadir)/$$script"; \ ./shtool install -c -m 644 $$script $(DESTDIR)$(pkgdatadir)/$$script; \ done uninstall: @@for script in sh.common $(SCRIPTS); do \ echo "$(RM) $(DESTDIR)$(pkgdatadir)/$$script"; \ $(RM) $(DESTDIR)$(pkgdatadir)/$$script; \ done $(RM) $(DESTDIR)$(aclocaldir)/shtool.m4 -@@for ifile in shtoolize.pod shtool.pod $(SCRIPTS); do \ ofile=`echo "$$ifile" | sed -e 's/\.pod$$/.1/' -e 's/^sh\.\(.*\)$$/shtool-\1.1/'`; \ echo "$(RM) $(DESTDIR)$(mandir)/man1/$$ofile"; \ $(RM) $(DESTDIR)$(mandir)/man1/$$ofile; \ done $(RM) $(DESTDIR)$(bindir)/shtoolize $(RM) $(DESTDIR)$(bindir)/shtool $(RMDIR) $(DESTDIR)$(aclocaldir) >/dev/null 2>&1 || $(TRUE) $(RMDIR) $(DESTDIR)$(pkgdatadir) >/dev/null 2>&1 || $(TRUE) $(RMDIR) $(DESTDIR)$(datadir) >/dev/null 2>&1 || $(TRUE) $(RMDIR) $(DESTDIR)$(mandir)/man1 >/dev/null 2>&1 || $(TRUE) $(RMDIR) $(DESTDIR)$(mandir) >/dev/null 2>&1 || $(TRUE) $(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE) $(RMDIR) $(DESTDIR)$(prefix) >/dev/null 2>&1 || $(TRUE) clean: $(RM) shtool $(RM) *.1 distclean: clean $(RM) Makefile shtoolize $(RM) config.cache config.status config.log $(RM) .timestamp @ 1.54 log @Adjust copyright for year 2007. @ text @d3 1 a3 1 ## Copyright (c) 1999-2007 Ralf S. Engelschall @ 1.53 log @Upgrade build environment to GNU autoconf 2.61 @ text @d3 1 a3 1 ## Copyright (c) 1999-2006 Ralf S. Engelschall @ 1.52 log @Adjust copyright for year 2006 @ text @d28 1 @ 1.51 log @Adjust copyright for year 2005 @ text @d3 1 a3 1 ## Copyright (c) 1999-2005 Ralf S. Engelschall @ 1.50 log @Embedded the command documentation from shtool.pod into the individual sh.xxxx scripts and this way split the large shtool(1) manual page into individual manual pages shtool-xxxx(1). Submitted partly by: Thomas Lotterer @ text @d3 1 a3 1 ## Copyright (c) 1999-2004 Ralf S. Engelschall @ 1.49 log @Bump copyright year for 2004 @ text @d64 1 a64 1 all: shtool shtool.1 shtoolize.1 d67 1 a67 1 @@$(SHELL) sh.echo -e "%BBuilding shtool program:%b" d70 3 a72 3 shtool.1: shtool.pod @@$(SHELL) sh.echo -e "%BBuilding shtool.1 manual page:%b" V1=`$(SHELL) sh.version -l txt -d short VERSION`; \ d75 11 a85 12 $(POD2MAN) --section=1 --center="GNU Portable Shell Tool" \ --release="$$D" --date="shtool $$V1" shtool.pod |\ sed -e "s;SHTOOL_VERSION_STR;$$V2;" >shtool.1 shtoolize.1: shtoolize.pod @@$(SHELL) sh.echo -e "%BBuilding shtoolize.1 manual page:%b" V1=`$(SHELL) sh.version -l txt -d short VERSION`; \ V2=`$(SHELL) sh.version -l txt -d long VERSION`; \ D=`$(SHELL) sh.version -l txt -d long VERSION | sed -e 's;.*(;;' -e 's;).*;;'`; \ $(POD2MAN) --section=1 --center="GNU Portable Shell Tool" \ --release="$$D" --date="shtool $$V1" shtoolize.pod |\ sed -e "s;SHTOOL_VERSION_STR;$$V2;" >shtoolize.1 d100 5 a104 2 ./shtool install -c -m 644 shtool.1 $(DESTDIR)$(mandir)/man1/shtool.1 ./shtool install -c -m 644 shtoolize.1 $(DESTDIR)$(mandir)/man1/shtoolize.1 d117 5 a121 2 $(RM) $(DESTDIR)$(mandir)/man1/shtoolize.1 $(RM) $(DESTDIR)$(mandir)/man1/shtool.1 d133 2 a134 1 $(RM) shtool shtool.1 shtoolize.1 d139 1 @ 1.48 log @Replaced old and inflexible "shtool guessos" command with a completely new command "shtool platform" command. It distinguishes a Unix platform according to its hardware architecture and operating system. For both there is a class, product and technology identification. For each of those six identifications, there is a verbose, regular and concise version. @ text @d3 1 a3 1 ## Copyright (c) 1999-2003 Ralf S. Engelschall @ 1.47 log @Bump year in copyright messages to cover new year 2003. @ text @d57 1 a57 1 sh.guessos \ @ 1.46 log @switch to devtool environment @ text @d3 1 a3 1 ## Copyright (c) 1999-2002 Ralf S. Engelschall @ 1.45 log @bump copyright years @ text @a42 3 USER_NAME = gnu GROUP_NAME = shtool a132 44 # (not intended to be run by end users) dist: distclean $(SHELL) sh.fixperm -v *; \ V=`$(SHELL) sh.version -l txt -d short VERSION`; \ $(SHELL) sh.tarball -o shtool-$${V}.tar.gz -d shtool-$${V} \ -u $(USER_NAME) -g $(GROUP_NAME) \ -e 'CVS,\.cvsignore,\.[ao]$$,^\.' \ -c 'gzip --best' .; \ $(LS) -l shtool-$$V.tar.gz # (not intended to be run by end users) snap: distclean @@$(SHELL) sh.fixperm -v *; \ V=`$(SHELL) sh.version -l txt -d short VERSION`; \ $(SHELL) sh.tarball -o shtool-$${V}-SNAP.tar.gz -d shtool-$${V}-SNAP \ -u $(USER_NAME) -g $(GROUP_NAME) \ -e 'CVS,\.cvsignore,\.[ao]$$,^\.' \ -c 'gzip --best' .; \ $(LS) -l shtool-$$V-SNAP.tar.gz # (not intended to be run by end users) new-version: @@echo "Setting new version information:"; \ V="$(VERSION)"; \ if [ ".$$V" != . ]; then \ OPT="-s$$V"; \ else \ OPT="-e"; \ fi; \ $(SHELL) ./sh.version -l txt -n "GNU shtool" -p shtool $$OPT VERSION; \ V=`$(SHELL) ./sh.version -l txt -d long VERSION`; \ sed -e "s/Version .*(.*)/Version $$V/g" README.n && mv README.n README; \ V=`$(SHELL) ./sh.version -l txt -d short VERSION`; \ sed -e "s/%define ver .*/%define ver $$V/g" shtool.spec.n && mv shtool.spec.n shtool.spec update-version: @@echo "Updating date in version information"; \ V=`$(SHELL) ./sh.version -l txt -d short VERSION`;\ $(SHELL) ./sh.version -l txt -n "GNU shtool" -p shtool -s $$V VERSION;\ V=`$(SHELL) ./sh.version -l txt -d long VERSION`;\ sed -e "s/Version .*(.*)/Version $$V/g" README.n && mv README.n README;\ V=`$(SHELL) ./sh.version -l txt -d short VERSION`;\ sed -e "s/%define ver .*/%define ver $$V/g" shtool.spec.n && mv shtool.spec.n shtool.spec @ 1.44 log @*** empty log message *** @ text @d3 1 a3 1 ## Copyright (c) 1999-2001 Ralf S. Engelschall @ 1.43 log @*** empty log message *** @ text @d57 1 @ 1.42 log @*** empty log message *** @ text @d58 1 @ 1.41 log @*** empty log message *** @ text @d32 1 a32 1 DESTDIR = d127 1 a127 1 d132 1 a132 1 $(RM) Makefile shtoolize @ 1.40 log @*** empty log message *** @ text @d3 1 a3 1 ## Copyright (c) 1999-2000 Ralf S. Engelschall @ 1.39 log @*** empty log message *** @ text @d32 2 d95 10 a104 10 ./shtool mkdir -f -p -m 755 $(prefix) ./shtool mkdir -f -p -m 755 $(bindir) ./shtool mkdir -f -p -m 755 $(mandir)/man1 ./shtool mkdir -f -p -m 755 $(aclocaldir) ./shtool mkdir -f -p -m 755 $(pkgdatadir) ./shtool install -c -m 755 shtool $(bindir)/shtool ./shtool install -c -m 755 shtoolize $(bindir)/shtoolize ./shtool install -c -m 644 shtool.1 $(mandir)/man1/shtool.1 ./shtool install -c -m 644 shtoolize.1 $(mandir)/man1/shtoolize.1 ./shtool install -c -m 644 shtool.m4 $(aclocaldir)/shtool.m4 d106 2 a107 2 echo "./shtool install -c -m 644 $$script $(pkgdatadir)/$$script"; \ ./shtool install -c -m 644 $$script $(pkgdatadir)/$$script; \ d112 2 a113 2 echo "$(RM) $(pkgdatadir)/$$script"; \ $(RM) $(pkgdatadir)/$$script; \ d115 12 a126 12 $(RM) $(aclocaldir)/shtool.m4 $(RM) $(mandir)/man1/shtoolize.1 $(RM) $(mandir)/man1/shtool.1 $(RM) $(bindir)/shtoolize $(RM) $(bindir)/shtool $(RMDIR) $(aclocaldir) >/dev/null 2>&1 || $(TRUE) $(RMDIR) $(pkgdatadir) >/dev/null 2>&1 || $(TRUE) $(RMDIR) $(datadir) >/dev/null 2>&1 || $(TRUE) $(RMDIR) $(mandir)/man1 >/dev/null 2>&1 || $(TRUE) $(RMDIR) $(mandir) >/dev/null 2>&1 || $(TRUE) $(RMDIR) $(bindir) >/dev/null 2>&1 || $(TRUE) $(RMDIR) $(prefix) >/dev/null 2>&1 || $(TRUE) @ 1.38 log @*** empty log message *** @ text @a62 17 VERSION_TOOL = $(SHELL) ./sh.version _NEWVERS = \ $(VERSION_TOOL) -l txt -n "GNU shtool" -p shtool $$OPT VERSION;\ V=`$(VERSION_TOOL) -l txt -d long VERSION`;\ sed -e "s/Version .*(.*)/Version $$V/g" README.n && mv README.n README;\ V=`$(VERSION_TOOL) -l txt -d short VERSION`;\ sed -e "s/%define ver .*/%define ver $$V/g" shtool.spec.n && mv shtool.spec.n shtool.spec _UPDATEVERS = \ V=`$(VERSION_TOOL) -l txt -d short VERSION`;\ $(VERSION_TOOL) -l txt -n "GNU shtool" -p shtool -s $$V VERSION;\ V=`$(VERSION_TOOL) -l txt -d long VERSION`;\ sed -e "s/Version .*(.*)/Version $$V/g" README.n && mv README.n README;\ V=`$(VERSION_TOOL) -l txt -d short VERSION`;\ sed -e "s/%define ver .*/%define ver $$V/g" shtool.spec.n && mv shtool.spec.n shtool.spec d71 3 a73 3 V1=`$(VERSION_TOOL) -l txt -d short VERSION`; \ V2=`$(VERSION_TOOL) -l txt -d long VERSION`; \ D=`$(VERSION_TOOL) -l txt -d long VERSION | sed -e 's;.*(;;' -e 's;).*;;'`; \ d80 3 a82 3 V1=`$(VERSION_TOOL) -l txt -d short VERSION`; \ V2=`$(VERSION_TOOL) -l txt -d long VERSION`; \ D=`$(VERSION_TOOL) -l txt -d long VERSION | sed -e 's;.*(;;' -e 's;).*;;'`; \ d136 1 a136 1 V=`$(VERSION_TOOL) -l txt -d short VERSION`; \ d146 1 a146 1 V=`$(VERSION_TOOL) -l txt -d short VERSION`; \ d155 13 a167 13 OPT=-iv && $(_NEWVERS) new-revision: OPT=-ir && $(_NEWVERS) new-patchlevel: OPT=-iP && $(_NEWVERS) new-betalevel: OPT=-ib && $(_NEWVERS) new-alphalevel: OPT=-ia && $(_NEWVERS) new-snaplevel: OPT=-is && $(_NEWVERS) new-release: OPT=-s$(R) && $(_NEWVERS) d169 7 a175 1 $(_UPDATEVERS) @ 1.37 log @*** empty log message *** @ text @d68 3 a70 1 sed -e "s/Version .*(.*)/Version $$V/g" README.n && mv README.n README d76 3 a78 1 sed -e "s/Version .*(.*)/Version $$V/g" README.n && mv README.n README @ 1.36 log @*** empty log message *** @ text @d3 1 a3 1 ## Copyright (c) 1999 Ralf S. Engelschall @ 1.35 log @*** empty log message *** @ text @d87 1 a87 1 $(POD2MAN) --section=3 --center="GNU Portable Shell Tool" \ d96 1 a96 1 $(POD2MAN) --section=3 --center="GNU Portable Shell Tool" \ @ 1.34 log @*** empty log message *** @ text @d133 1 d135 1 @ 1.33 log @*** empty log message *** @ text @d123 2 a124 2 echo "$(RM) $(datadir)/shtool/$$script"; \ $(RM) $(datadir)/shtool/$$script; \ d126 1 d131 2 a132 1 $(RMDIR) $(datadir)/shtool >/dev/null 2>&1 || $(TRUE) @ 1.32 log @*** empty log message *** @ text @d29 2 d109 2 a110 1 ./shtool mkdir -f -p -m 755 $(datadir)/shtool d115 1 d117 2 a118 2 echo "./shtool install -c -m 644 $$script $(datadir)/shtool/$$script"; \ ./shtool install -c -m 644 $$script $(datadir)/shtool/$$script; \ @ 1.31 log @*** empty log message *** @ text @d34 2 a37 4 FIND = find GTAR = gtar GZIP = gzip TARDY = tardy d104 1 d116 14 @ 1.30 log @*** empty log message *** @ text @d100 1 @ 1.29 log @*** empty log message *** @ text @d126 1 a126 1 @@$(SHELL) sh.fixperm -v *; \ d130 1 a130 1 -e 'CVS,\.cvsignore,\.[ao]$,^\.' \ d140 1 a140 1 -e 'CVS,\.cvsignore,\.[ao]$,^\.' \ @ 1.28 log @*** empty log message *** @ text @d130 1 a130 1 -e 'CVS,\.cvsignore,\.[ao],^\.' \ d140 1 a140 1 -e 'CVS,\.cvsignore,\.[ao],^\.' \ @ 1.27 log @*** empty log message *** @ text @d41 2 a42 2 USER_NAME = rse GROUP_NAME = gnu d128 4 a131 6 $(GTAR) --no-recursion -cvf - `$(FIND) * -depth -print | sort | grep -v CVS | grep -v .cvsignore ` |\ $(TARDY) --user_number=0 --user_name=$(USER_NAME) \ --group_number=0 --group_name=$(GROUP_NAME) \ --prefix=shtool-$$V - |\ $(GZIP) --best >/tmp/shtool-$$V.tar.gz && \ $(CP) /tmp/shtool-$$V.tar.gz .; $(RM) /tmp/shtool-$$V.tar.gz; \ d138 4 a141 6 $(GTAR) --no-recursion -cvf - `$(FIND) * -depth -print | sort | grep -v CVS | grep -v .cvsignore ` |\ $(TARDY) --user_number=0 --user_name=$(USER_NAME) \ --group_number=0 --group_name=$(GROUP_NAME) \ --prefix=shtool-$$V-SNAP - |\ $(GZIP) --best >/tmp/shtool-$$V-SNAP.tar.gz && \ $(CP) /tmp/shtool-$$V-SNAP.tar.gz .; $(RM) /tmp/shtool-$$V-SNAP.tar.gz; \ @ 1.26 log @*** empty log message *** @ text @d55 1 @ 1.25 log @*** empty log message *** @ text @d79 1 a79 1 ./shtoolize -v -o shtool all @ 1.24 log @*** empty log message *** @ text @d89 1 @ 1.23 log @*** empty log message *** @ text @d28 1 d75 1 a75 1 all: shtool shtool.1 d77 1 a77 1 shtool: $(SCRIPTS) sh.common shtool.gen d79 1 a79 1 $(PERL) shtool.gen $(SCRIPTS) >shtool && chmod a+x shtool d89 8 d105 1 d107 1 d109 5 d116 1 a116 1 $(RM) shtool shtool.1 d119 2 a120 1 $(RM) Makefile config.cache config.status config.log @ 1.22 log @*** empty log message *** @ text @a26 2 libdir = @@libdir@@ includedir = @@includedir@@ @ 1.21 log @*** empty log message *** @ text @d126 1 a126 1 --prefix=shtool-$$V - |\ @ 1.20 log @*** empty log message *** @ text @d79 1 a79 1 @@$(SHELL) sh.echo -e "%BBuilding shtool program...%b" d83 1 a83 1 @@$(SHELL) sh.echo -e "%BBuilding shtool.1 manual page...%b" d92 1 a92 1 @@$(SHELL) sh.echo -e "%BRunning test suite...%b" @ 1.19 log @*** empty log message *** @ text @d92 1 @ 1.18 log @*** empty log message *** @ text @d91 3 @ 1.17 log @*** empty log message *** @ text @d80 1 a80 2 $(PERL) shtool.gen $(SCRIPTS) >shtool chmod a+x shtool @ 1.16 log @*** empty log message *** @ text @d106 1 a106 1 @@$(SHELL) sh.fixperm *; \ d118 2 a119 1 @@V=`$(VERSION_TOOL) -l txt -d short VERSION`; \ @ 1.15 log @*** empty log message *** @ text @d43 1 a43 1 GROUP_NAME = shtool @ 1.14 log @*** empty log message *** @ text @d129 1 a129 1 OPT=-is && $(_NEWVERS) @ 1.13 log @*** empty log message *** @ text @d66 1 a66 1 $(VERSION_TOOL) -l txt -n SHTOOL -p shtool $$OPT VERSION;\ d72 1 a72 1 $(VERSION_TOOL) -l txt -n SHTOOL -p shtool -s $$V VERSION;\ @ 1.12 log @*** empty log message *** @ text @d88 1 a88 1 $(POD2MAN) --section=3 --center="Portable Shell Tool" \ @ 1.11 log @*** empty log message *** @ text @d2 1 a2 1 ## Makefile for shtool @ 1.10 log @*** empty log message *** @ text @d78 1 a78 1 shtool: $(SCRIPTS) sh.common @ 1.9 log @*** empty log message *** @ text @d119 1 a119 1 $(GTAR) --no-recursion -cvf - `find * -depth -print | sort` |\ @ 1.8 log @*** empty log message *** @ text @d47 1 @ 1.7 log @*** empty log message *** @ text @d3 16 a18 1 ## Copyright (c) 1999 Ralf S. Engelschall, All Rights Reserved. @ 1.6 log @*** empty log message *** @ text @d28 1 a28 1 GROUP_NAME = en d47 1 a47 1 NEWVERS = $(SHELL) ./sh.version d50 2 a51 2 $(NEWVERS) -l txt -n SHTOOL -p shtool $$OPT VERSION;\ V=`$(NEWVERS) -l txt -d long VERSION`;\ d55 3 a57 3 V=`$(NEWVERS) -l txt -d short VERSION`;\ $(NEWVERS) -l txt -n SHTOOL -p shtool -s $$V VERSION;\ V=`$(NEWVERS) -l txt -d long VERSION`;\ d62 1 a62 1 shtool: $(SCRIPTS) d69 5 a73 4 V1=`$(NEWVERS) -l txt -d short VERSION`; \ V2=`$(NEWVERS) -l txt -d long VERSION`; \ D=`$(NEWVERS) -l txt -d long VERSION | sed -e 's;.*(;;' -e 's;).*;;'`; \ $(POD2MAN) --section=3 --center="Shell Tool" --release="$$D" --date="shtool $$V1" shtool.pod |\ d91 1 a91 1 V=`$(NEWVERS) -l txt -d short VERSION`; \ d102 1 a102 1 @@V=`$(NEWVERS) -l txt -d short VERSION`; \ d113 1 a113 1 OPT='-i s' && $(_NEWVERS) d115 1 a115 1 OPT='-i r' && $(_NEWVERS) d117 1 a117 1 OPT='-i P' && $(_NEWVERS) d119 1 a119 1 OPT='-i b' && $(_NEWVERS) d121 1 a121 1 OPT='-i a' && $(_NEWVERS) d123 1 a123 1 OPT='-i s' && $(_NEWVERS) d125 1 a125 1 OPT='-s $(R)' && $(_NEWVERS) @ 1.5 log @*** empty log message *** @ text @d43 1 @ 1.4 log @*** empty log message *** @ text @d22 1 d24 1 a25 1 GZIP = gzip @ 1.3 log @*** empty log message *** @ text @d20 8 d45 1 a45 1 NEWVERS = sh ./sh.version d85 1 d87 1 a87 1 @@sh sh.fixperm *; \ d89 7 a95 7 gtar --no-recursion -cvf - `find * -depth -print | sort | grep -v CVS | grep -v .cvsignore ` |\ tardy --user_number=0 --user_name=rse \ --group_number=0 --group_name=en \ --prefix=shtool-$$V - |\ gzip --best >/tmp/shtool-$$V.tar.gz && \ cp /tmp/shtool-$$V.tar.gz .; rm -f /tmp/shtool-$$V.tar.gz; \ ls -l shtool-$$V.tar.gz d97 1 d100 7 a106 7 gtar --no-recursion -cvf - `find * -depth -print | sort` |\ tardy --user_number=0 --user_name=rse \ --group_number=0 --group_name=en \ --prefix=shtool-$$V - |\ gzip --best >/tmp/shtool-$$V-SNAP.tar.gz && \ cp /tmp/shtool-$$V-SNAP.tar.gz .; rm -f /tmp/shtool-$$V-SNAP.tar.gz; \ ls -l shtool-$$V-SNAP.tar.gz d108 1 a122 1 @ 1.2 log @*** empty log message *** @ text @d46 1 a46 1 $(NEWVERS) -l txt -n SHTOOL -p shtool -v $$V VERSION;\ d99 1 a99 2 OPT='-i v' && $(_NEWVERS) a101 1 a103 1 a105 1 a107 1 a109 1 d111 1 a111 1 OPT='-v $(R)' && $(_NEWVERS) @ 1.1 log @Initial revision @ text @d28 1 d32 1 d40 1 a40 1 $(NEWVERS) -l txt -n shtool -p shtool $$OPT VERSION;\ d46 1 a46 1 $(NEWVERS) -l txt -n shtool -p shtool -v $$V VERSION;\ d78 2 a79 1 @@V=`$(NEWVERS) -l txt -d short VERSION`; \ @ 1.1.1.1 log @Import of shtool 1.1.0 @ text @@ 1.1.1.2 log @Import of shtool 1.2.0 @ text @a27 1 sh.mkln \ a30 1 sh.arx \ d76 1 a76 2 @@sh sh.fixperm *; \ V=`$(NEWVERS) -l txt -d short VERSION`; \ @