summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2010-03-26 07:50:11 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2010-03-26 11:17:55 +0100
commitf435bf07ac872c4c9675ef11d26a4a355d30610b (patch)
tree9bcd247df513c4b968eaa85ac22d69d1ba606a7c /Makefile.am
parent37a56ea0da2e53be880ea5216e5be41b16dc1880 (diff)
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 <martin.pitt@ubuntu.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
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