summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-11-25 19:44:28 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-11-25 19:44:28 -0500
commit4b3087eb7d016dfa21722e8dff437784251ab55e (patch)
tree7c866fa1a48a43dd6afd5768ff12e52d5316b847 /src/Makefile.am
parent518c07d5b4b40c8e580897755c400910677d9e21 (diff)
Fix up building gudev and introspection under make distcheck
This commit makes sure that src/gudev/gudevprivate.h is included in the distribution, fixing a failure in building gudev with `make distcheck`. There's also some code cleanup and migration of all configurable paths to the main configure.ac file. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index abc6f40a06..1995168536 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,8 +2,7 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = \
libudev \
- udev \
- gudev
+ udev
# Helper programs
SUBDIRS += \
@@ -15,6 +14,11 @@ SUBDIRS += \
scsi_id \
v4l_id
+if ENABLE_GUDEV
+SUBDIRS += \
+ gudev
+endif
+
if ENABLE_KEYMAP
SUBDIRS += \
keymap