chiark / gitweb /
move syslog wrapper to libudev
[elogind.git] / Makefile.am
index d4afefdf7176c91d49d614b0c3ac1ce4f27facb6..678a3e426acd156a24fe4defe03fe449649909e2 100644 (file)
@@ -1,4 +1,7 @@
+include $(top_srcdir)/Makefile.am.inc
+
 SUBDIRS = \
 SUBDIRS = \
+       libudev \
        udev \
        rules \
        extras
        udev \
        rules \
        extras
@@ -12,15 +15,18 @@ EXTRA_DIST = \
        docs \
        autogen.sh
 
        docs \
        autogen.sh
 
-PREVIOUS_VERSION = `expr $(VERSION) - 1`
+CLEANFILES = \
+       udev-$(VERSION).tar.gz udev-$(VERSION).tar.bz2
+
+ACLOCAL_AMFLAGS = -I m4
+
+clean-local:
+       rm -rf udev-test-install
 
 distclean-local:
 
 distclean-local:
-       rm -f *~
        rm -rf autom4te.cache
        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
+
+PREVIOUS_VERSION = `expr $(VERSION) - 1`
 
 changelog:
        @ head -1 ChangeLog | grep -q "to v$(PREVIOUS_VERSION)"
 
 changelog:
        @ head -1 ChangeLog | grep -q "to v$(PREVIOUS_VERSION)"
@@ -49,4 +55,3 @@ git-release:
        cat .git/refs/heads/master > .git/refs/tags/$(VERSION)
        git gc
        git prune
        cat .git/refs/heads/master > .git/refs/tags/$(VERSION)
        git gc
        git prune
-       git-update-server-info