Support automatic ChangeLog generation.

This commit is contained in:
Markus F.X.J. Oberhumer 2006-05-18 10:16:59 +02:00
parent 8387527d2e
commit 2d63da0660
2 changed files with 5 additions and 17 deletions

View File

@ -1,6 +1,7 @@
syntax: regexp
^build.*
^ChangeLog
syntax: glob

View File

@ -23,24 +23,11 @@ endif
dist: distclean
false
ifneq ($(wildcard CVS/R*),)
CVS_ROOT := $(shell cat CVS/Root)
CVS_REPO := $(shell cat CVS/Repository)
endif
cvs-info:
@echo 'CVS info: $(CVS_ROOT) $(CVS_REPO)'
cvs-admin-ko:
cvs admin -ko .
cvs -q -z6 update -P -d
# automatically generate ChangeLog from CVS
ChangeLog ChangeLog.cvs:
perl $(srcdir)/scripts/cvs2cl.pl --utc -f ChangeLog.cvs
# automatically generate ChangeLog from hg
ChangeLog:
hg log --style=changelog > $@
.PHONY: default all mostlyclean clean distclean maintainer-clean
.PHONY: dist cvs-info cvs-admin-ko ChangeLog ChangeLog.cvs
.PHONY: dist ChangeLog