1 include $(top_srcdir)/Makefile.am.inc
8 udevconfdir = $(sysconfdir)/udev
17 PREVIOUS_VERSION = `expr $(VERSION) - 1`
22 rm -f depcomp aclocal.m4 config.h.in configure install-sh
23 rm -f Makefile.in missing config.guess config.sub ltmain.sh
24 rm -rf udev-test-install
25 rm -f udev-$(VERSION).tar.gz udev-$(VERSION).tar.bz2
28 @ head -1 ChangeLog | grep -q "to v$(PREVIOUS_VERSION)"
29 @ mv ChangeLog ChangeLog.tmp
30 @ echo "Summary of changes from v$(PREVIOUS_VERSION) to v$(VERSION)" >> ChangeLog
31 @ echo "============================================" >> ChangeLog
33 @ git log --pretty=short $(PREVIOUS_VERSION)..HEAD | git shortlog >> ChangeLog
36 @ cat ChangeLog.tmp >> ChangeLog
40 cd test && ./udev-test.pl
43 rm -rf $(PWD)/udev-test-install/
44 make DESTDIR=$(PWD)/udev-test-install install
45 tree $(PWD)/udev-test-install/
48 head -1 ChangeLog | grep -q "to v$(VERSION)"
49 head -1 NEWS | grep -q "udev $(VERSION)"
50 git commit -a -m "release $(VERSION)"
51 cat .git/refs/heads/master > .git/refs/tags/$(VERSION)