chiark / gitweb /
keymap: move from udev-extras
[elogind.git] / Makefile.am
index d4afefd..0ebf232 100644 (file)
@@ -1,4 +1,7 @@
+include $(top_srcdir)/Makefile.am.inc
+
 SUBDIRS = \
+       libudev \
        udev \
        rules \
        extras
@@ -12,15 +15,22 @@ EXTRA_DIST = \
        docs \
        autogen.sh
 
-PREVIOUS_VERSION = `expr $(VERSION) - 1`
+CLEANFILES = \
+       udev-$(VERSION).tar.gz udev-$(VERSION).tar.bz2
+
+ACLOCAL_AMFLAGS = -I m4
+
+DISTCHECK_CONFIGURE_FLAGS = \
+       --enable-gtk-doc \
+       --enable-extras
+
+clean-local:
+       rm -rf udev-test-install
 
 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
+
+PREVIOUS_VERSION = `expr $(VERSION) - 1`
 
 changelog:
        @ head -1 ChangeLog | grep -q "to v$(PREVIOUS_VERSION)"
@@ -49,4 +59,7 @@ git-release:
        cat .git/refs/heads/master > .git/refs/tags/$(VERSION)
        git gc
        git prune
-       git-update-server-info
+
+doc-sync:
+       rsync -av --delete libudev/docs/html/ master.kernel.org:/pub/linux/utils/kernel/hotplug/libudev/
+       rsync -av --delete extras/gudev/docs/html/ master.kernel.org:/pub/linux/utils/kernel/hotplug/libgudev/