From f435bf07ac872c4c9675ef11d26a4a355d30610b Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 26 Mar 2010 07:50:11 +0100 Subject: Simplify udev subdirectory handling Use the BACKEND_TYPE_LINUX automake conditional to include the rules directory. This way we don't need to specify DIST_SUBDIRS and can get rid of UDEV_RULES. Less redundandcy, less chance to miss a directory in the dist tarball. Signed-off-by: Martin Pitt --- Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 3f33a80..068eaa4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,9 +2,11 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = devkit-power-gobject libupower-glib src doc tools policy po $(UDEV_RULES) +SUBDIRS = devkit-power-gobject libupower-glib src doc tools policy po -DIST_SUBDIRS = devkit-power-gobject libupower-glib src doc tools policy po rules +if BACKEND_TYPE_LINUX +SUBDIRS += rules +endif # Creating ChangeLog from git log (taken from cairo/Makefile.am): ChangeLog: $(srcdir)/ChangeLog -- cgit v1.2.1