chiark / gitweb /
update README
[elogind.git] / Makefile
index 54bfb31cd32e85317ae568884cd6f1811169ba6b..cd789f82fdfd7c307b2cf2adc24f68ebe6e47264 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 #
 
-VERSION = 075
+VERSION = 077
 
 # set this to make use of syslog
 USE_LOG = true
@@ -106,7 +106,6 @@ GEN_CONFIGS = \
 GEN_HEADERS = \
        udev_version.h
 
-# override this to make udev look in a different location for it's config files
 prefix =
 etcdir =       ${prefix}/etc
 sbindir =      ${prefix}/sbin
@@ -378,9 +377,20 @@ test tests: all
 .PHONY: test tests
 
 buildtest:
-       ./test/simple-build-check.sh
+       test/simple-build-check.sh
 .PHONY: buildtest
 
+ChangeLog: Makefile
+       @ mv $@ $@.tmp
+       @ echo "Summary of changes from v$(shell printf '%03i' $$(expr $(VERSION) - 1)) to v$(VERSION)" >> $@
+       @ echo "============================================" >> $@
+       @ echo >> $@
+       @ git log --pretty=short $(shell printf '%03i' $$(expr $(VERSION) - 1))..HEAD | git shortlog  >> $@
+       @ echo >> $@
+       @ cat $@
+       @ cat $@.tmp >> $@
+       @ rm $@.tmp
+
 gcov-all:
        $(MAKE) clean all STRIPCMD= USE_GCOV=true
        @echo