]> granicus.if.org Git - sudo/commitdiff
Add ChangeLog target
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 27 Feb 2010 17:37:49 +0000 (12:37 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 27 Feb 2010 17:37:49 +0000 (12:37 -0500)
Makefile

index 53a4679dfab248d1d904ec2fc45ccdc9561b845b..811adc47186b0cade9004a306650cc15fd8ab229 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,9 @@ SUBDIRS = src plugins/sample doc
 all install: config.status
        for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@); done
 
+ChangeLog:
+       hg log --style=changelog -b default > $@
+
 config.status:
        @if [ ! -s config.status ]; then \
                echo "Please run configure first"; \
@@ -35,7 +38,7 @@ mostlyclean: clean
 
 distclean: config.status
        -rm -rf compat/*.o pathnames.h config.h config.status config.cache \
-               config.log libtool stamp-h* autom4te.cache
+               config.log libtool stamp-h* autom4te.cache ChangeLog
        for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@); done
 
 cleandir: distclean