diff options
author | Erik Troan <ewt@redhat.com> | 1997-10-13 18:56:51 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1997-10-13 18:56:51 +0000 |
commit | 829abf2afeae20324bb9786cab40db3172c20e39 (patch) | |
tree | c94649f0cbeeef77b0596cb1389125875b9b061b | |
parent | 9dd01ff51ac83c62cd61cc062da6e7c1d491b8dd (diff) | |
download | initscripts-829abf2afeae20324bb9786cab40db3172c20e39.tar initscripts-829abf2afeae20324bb9786cab40db3172c20e39.tar.gz initscripts-829abf2afeae20324bb9786cab40db3172c20e39.tar.bz2 initscripts-829abf2afeae20324bb9786cab40db3172c20e39.tar.xz initscripts-829abf2afeae20324bb9786cab40db3172c20e39.zip |
added archive rule
-rw-r--r-- | Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -1,5 +1,8 @@ ROOT=/ +VERSION=3.18 +CVSTAG = r$(subst .,-,$(VERSION)) + all: (cd src; make CFLAGS="$(CFLAGS)") @@ -19,5 +22,14 @@ install: chown root.root /var/run/netreport chmod og=rwx,o=rx /var/run/netreport -clean: - (cd src; make clean) +archive: + @cvs tag -F $(CVSTAG) + @rm -rf /tmp/initscripts-$(VERSION) + @mkdir /tmp/initscripts-$(VERSION) + @cvs export -r$(CVSTAG) -d /tmp/initscripts-$(VERSION) initscripts + @cd /tmp; tar czSpf initscripts-$(VERSION).tar.gz initscripts-$(VERSION) + @rm -rf /tmp/initscripts-$(VERSION) + @cp /tmp/initscripts-$(VERSION).tar.gz . + @rm -f /tmp/initscripts-$(VERSION).tar.gz + @echo " " + @echo "The final archive is ./initscripts-$(VERSION).tar.gz." |