From ddd00bd992bce2706eea52862b71ac0a2659f809 Mon Sep 17 00:00:00 2001 From: jbj Date: Tue, 26 Jan 1999 19:04:39 +0000 Subject: [PATCH] Use "make dist" when making an archive. Make sure tag is correct. CVS patchset: 2756 CVS date: 1999/01/26 19:04:39 --- Makefile.am | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Makefile.am b/Makefile.am index 52cd5a5..66df7f5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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." -- 2.7.4