chiark / gitweb /
split prepare from ChangeLog rules
[developers-reference.git] / 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: