Use "make dist" when making an archive. Make sure tag is correct.
authorjbj <devnull@localhost>
Tue, 26 Jan 1999 19:04:39 +0000 (19:04 +0000)
committerjbj <devnull@localhost>
Tue, 26 Jan 1999 19:04:39 +0000 (19:04 +0000)
CVS patchset: 2756
CVS date: 1999/01/26 19:04:39

Makefile.am

index 52cd5a5..66df7f5 100644 (file)
@@ -92,13 +92,16 @@ noconfig:
 
 .PHONY: archive
 archive: 
-       @echo " "
-       @echo "I hope you checked everything out and made sure it builds"
-       @echo "maybe someday Erik will get around to making that automatic."
-       @echo
-       @echo "This is version $(VERSION)."
-       @sleep 5
-       @cvs -Q tag -F $(CVSTAG) .
+       @cvs -d `cat CVS/Root` diff >& /dev/null || { \
+           echo " " ; \
+           echo "==> Please resolve differences between the repository and" ; \
+           echo "==> your rpm check out before tagging." ; \
+           echo " " ; \
+           cvs -n up ; \
+           echo " " ; \
+           exit 1 ; \
+       }
+       @cvs -d `cat CVS/Root` -Q tag -F $(CVSTAG) .
        @make dist
        @echo " "
        @echo "The final archive is ./rpm-$(VERSION).tar.gz."