]>
Commit | Line | Data |
---|---|---|
4dea370d KS |
1 | include $(top_srcdir)/Makefile.am.inc |
2 | ||
01618658 KS |
3 | SUBDIRS = \ |
4 | udev \ | |
5 | rules \ | |
6 | extras | |
7 | ||
8 | udevconfdir = $(sysconfdir)/udev | |
9 | udevconf_DATA = \ | |
10 | udev.conf | |
11 | ||
12 | EXTRA_DIST = \ | |
13 | udev.conf \ | |
14 | docs \ | |
15 | autogen.sh | |
16 | ||
5d89ef7b KS |
17 | CLEANFILES = \ |
18 | udev-$(VERSION).tar.gz udev-$(VERSION).tar.bz2 | |
19 | ||
20 | clean-local: | |
21 | rm -rf udev-test-install | |
4c538fb5 | 22 | |
01618658 | 23 | distclean-local: |
01618658 | 24 | rm -rf autom4te.cache |
5d89ef7b KS |
25 | |
26 | PREVIOUS_VERSION = `expr $(VERSION) - 1` | |
01618658 | 27 | |
e1b802a7 | 28 | changelog: |
da8ba809 | 29 | @ head -1 ChangeLog | grep -q "to v$(PREVIOUS_VERSION)" |
e1b802a7 | 30 | @ mv ChangeLog ChangeLog.tmp |
4c538fb5 | 31 | @ echo "Summary of changes from v$(PREVIOUS_VERSION) to v$(VERSION)" >> ChangeLog |
e1b802a7 KS |
32 | @ echo "============================================" >> ChangeLog |
33 | @ echo >> ChangeLog | |
4c538fb5 | 34 | @ git log --pretty=short $(PREVIOUS_VERSION)..HEAD | git shortlog >> ChangeLog |
e1b802a7 KS |
35 | @ echo >> ChangeLog |
36 | @ cat ChangeLog | |
37 | @ cat ChangeLog.tmp >> ChangeLog | |
38 | @ rm ChangeLog.tmp | |
01618658 KS |
39 | |
40 | test-run: | |
41 | cd test && ./udev-test.pl | |
42 | ||
43 | test-install: | |
44 | rm -rf $(PWD)/udev-test-install/ | |
45 | make DESTDIR=$(PWD)/udev-test-install install | |
46 | tree $(PWD)/udev-test-install/ | |
47 | ||
58a63088 KS |
48 | git-release: |
49 | head -1 ChangeLog | grep -q "to v$(VERSION)" | |
50 | head -1 NEWS | grep -q "udev $(VERSION)" | |
51 | git commit -a -m "release $(VERSION)" | |
52 | cat .git/refs/heads/master > .git/refs/tags/$(VERSION) | |
5c0f595d KS |
53 | git gc |
54 | git prune |