aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1997-12-08 21:30:02 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1997-12-08 21:30:02 +0000
commitfcb4fa1ae722a08291d735b1d0b42d63dc1a6b58 (patch)
tree5e43ce39a95a4f3555b9e4e61d324ec2fbe90eb2
parent0fa448f6ef38dc9157903f70d9a905b499ede937 (diff)
downloadinitscripts-fcb4fa1ae722a08291d735b1d0b42d63dc1a6b58.tar
initscripts-fcb4fa1ae722a08291d735b1d0b42d63dc1a6b58.tar.gz
initscripts-fcb4fa1ae722a08291d735b1d0b42d63dc1a6b58.tar.bz2
initscripts-fcb4fa1ae722a08291d735b1d0b42d63dc1a6b58.tar.xz
initscripts-fcb4fa1ae722a08291d735b1d0b42d63dc1a6b58.zip
Allow creating new archives without creating a new tag if necessary.
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index de666508..e73c0515 100644
--- a/Makefile
+++ b/Makefile
@@ -22,8 +22,10 @@ install:
chown root.root /var/run/netreport
chmod og=rwx,o=rx /var/run/netreport
-archive:
+tag-archive:
@cvs tag -F $(CVSTAG)
+
+create-archive: tag-archive
@rm -rf /tmp/initscripts-$(VERSION)
@mkdir /tmp/initscripts-$(VERSION)
@cvs export -r$(CVSTAG) -d /tmp/initscripts-$(VERSION) initscripts
@@ -33,3 +35,5 @@ archive:
@rm -f /tmp/initscripts-$(VERSION).tar.gz
@echo " "
@echo "The final archive is ./initscripts-$(VERSION).tar.gz."
+
+archive: tag-archive create-archive