chiark / gitweb /
rules: make ata_id properties the default for all ATA block devices
[elogind.git] / Makefile.am
1 include $(top_srcdir)/Makefile.am.inc
2
3 SUBDIRS = \
4         docs \
5         libudev \
6         udev \
7         rules \
8         extras
9
10 udevconfdir = $(sysconfdir)/udev
11 dist_udevconf_DATA = \
12         udev.conf
13
14 EXTRA_DIST = \
15         autogen.sh
16
17 CLEANFILES = \
18         udev-$(VERSION).tar.gz udev-$(VERSION).tar.bz2
19
20 ACLOCAL_AMFLAGS = -I m4
21
22 DISTCHECK_CONFIGURE_FLAGS = \
23         --enable-gtk-doc \
24         --enable-extras
25
26 clean-local:
27         rm -rf udev-test-install
28
29 distclean-local:
30         rm -rf autom4te.cache
31
32 PREVIOUS_VERSION = `expr $(VERSION) - 1`
33
34 changelog:
35         @ head -1 ChangeLog | grep -q "to v$(PREVIOUS_VERSION)"
36         @ mv ChangeLog ChangeLog.tmp
37         @ echo "Summary of changes from v$(PREVIOUS_VERSION) to v$(VERSION)" >> ChangeLog
38         @ echo "============================================" >> ChangeLog
39         @ echo >> ChangeLog
40         @ git log --pretty=short $(PREVIOUS_VERSION)..HEAD | git shortlog  >> ChangeLog
41         @ echo >> ChangeLog
42         @ cat ChangeLog
43         @ cat ChangeLog.tmp >> ChangeLog
44         @ rm ChangeLog.tmp
45
46 test-run:
47         cd test && ./udev-test.pl
48
49 test-install:
50         rm -rf $(PWD)/udev-test-install/
51         make DESTDIR=$(PWD)/udev-test-install install
52         tree $(PWD)/udev-test-install/
53
54 git-release:
55         head -1 ChangeLog | grep -q "to v$(VERSION)"
56         head -1 NEWS | grep -q "udev $(VERSION)"
57         git commit -a -m "release $(VERSION)"
58         cat .git/refs/heads/master > .git/refs/tags/$(VERSION)
59         git gc
60         git prune
61
62 doc-sync:
63         rsync -av --delete libudev/docs/html/ master.kernel.org:/pub/linux/utils/kernel/hotplug/libudev/
64         rsync -av --delete extras/gudev/docs/html/ master.kernel.org:/pub/linux/utils/kernel/hotplug/gudev/