chiark / gitweb /
increase netif renaming timeout from 30 to 90 seconds
[elogind.git] / Makefile.am
1 include $(top_srcdir)/Makefile.am.inc
2
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
17 CLEANFILES = \
18         udev-$(VERSION).tar.gz udev-$(VERSION).tar.bz2
19
20 clean-local:
21         rm -rf udev-test-install
22
23 distclean-local:
24         rm -rf autom4te.cache
25
26 PREVIOUS_VERSION = `expr $(VERSION) - 1`
27
28 changelog:
29         @ head -1 ChangeLog | grep -q "to v$(PREVIOUS_VERSION)"
30         @ mv ChangeLog ChangeLog.tmp
31         @ echo "Summary of changes from v$(PREVIOUS_VERSION) to v$(VERSION)" >> ChangeLog
32         @ echo "============================================" >> ChangeLog
33         @ echo >> ChangeLog
34         @ git log --pretty=short $(PREVIOUS_VERSION)..HEAD | git shortlog  >> ChangeLog
35         @ echo >> ChangeLog
36         @ cat ChangeLog
37         @ cat ChangeLog.tmp >> ChangeLog
38         @ rm ChangeLog.tmp
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
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)
53         git gc
54         git prune