summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am41
1 files changed, 41 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000000..8152af012d
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,41 @@
+SUBDIRS = \
+ udev \
+ rules \
+ extras
+
+udevconfdir = $(sysconfdir)/udev
+udevconf_DATA = \
+ udev.conf
+
+EXTRA_DIST = \
+ udev.conf \
+ docs \
+ autogen.sh
+
+distclean-local:
+ rm -f *~
+ rm -rf autom4te.cache
+ rm -f depcomp aclocal.m4 config.h.in configure install-sh
+ rm -f Makefile.in missing config.guess config.sub ltmain.sh
+ rm -rf udev-test-install
+ rm -f udev-$(VERSION).tar.gz udev-$(VERSION).tar.bz2
+
+ChangeLog:
+ @ mv $@ $@.tmp
+ @ echo "Summary of changes from v$(shell echo $$(($(VERSION) - 1))) to v$(VERSION)" >> $@
+ @ echo "============================================" >> $@
+ @ echo >> $@
+ @ git log --pretty=short $(shell echo $$(($(VERSION) - 1)))..HEAD | git shortlog >> $@
+ @ echo >> $@
+ @ cat $@
+ @ cat $@.tmp >> $@
+ @ rm $@.tmp
+
+test-run:
+ cd test && ./udev-test.pl
+
+test-install:
+ rm -rf $(PWD)/udev-test-install/
+ make DESTDIR=$(PWD)/udev-test-install install
+ tree $(PWD)/udev-test-install/
+