chiark / gitweb /
split prepare from ChangeLog rules
authoraph <aph@313b444b-1b9f-4f58-a734-7bb04f332e8d>
Fri, 29 Aug 2003 15:14:12 +0000 (15:14 +0000)
committeraph <aph@313b444b-1b9f-4f58-a734-7bb04f332e8d>
Fri, 29 Aug 2003 15:14:12 +0000 (15:14 +0000)
git-svn-id: svn://anonscm.debian.org/ddp/manuals/trunk/developers-reference@2412 313b444b-1b9f-4f58-a734-7bb04f332e8d

Makefile

index b6b0757ff200354a39465cb95a88f95f540641dc..ba1c34d6c428089e53d801f18ceb1756a83a92eb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -77,11 +77,14 @@ version.ent:        debian/changelog
 
 USERMAP        := ../../ddp/CVSROOT/users
 .PHONY: prepare
-prepare:
+prepare:       ChangeLog
+       cvs ci -m "update for next release" ChangeLog
+
+.PHONY: ChangeLog
+ChangeLog:
        @[ -f CVS/Root -a -f $(USERMAP) ] || \
-               ( echo "silly rabbit, prepare is for Adam" 1>&2; exit 1 )
+               ( echo "usermap file '$(USERMAP)' not found" 1>&2; exit 1 )
        cvs2cl -r --usermap $(USERMAP)
-       cvs ci -m "update for next release" ChangeLog
 
 .PHONY: clean
 clean: