Makefile: Add a rule to generate a GNU style Changelog
authorAntonio Ospite <ospite@studenti.unina.it>
Thu, 29 Sep 2011 16:19:23 +0000 (18:19 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Thu, 29 Sep 2011 21:39:44 +0000 (23:39 +0200)
Lintian, the Debian package checker issues a warning when the upstream
does not provide a Changelog, now we can easily generate one for tagged
release using "make changelog".

Makefile

index 57deaf8..70ad841 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,3 +12,6 @@ install:
 
 clean: 
        make -C kinect_upload_fw clean
 
 clean: 
        make -C kinect_upload_fw clean
+
+changelog:
+       git log --pretty="format:%ai  %aN  <%aE>%n%n%x09* %s%d%n" > ChangeLog