summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2012-04-17 15:17:27 +0100
committerKay Sievers <kay@vrfy.org>2012-04-17 17:01:21 +0200
commit92ec4495f76a7a2a6c31f5bb2a5240f78dcfe1d2 (patch)
tree468cd0a008b9bc7fd8f2766507b1f197abeda715 /Makefile.am
parent512dabcdc65eece0bcebb4f971ec34794be8d35d (diff)
build-sys: make gtk-doc dependency optional
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 13c4ed1699..e8172bc514 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1276,8 +1276,10 @@ EXTRA_DIST += \
src/libsystemd-daemon/libsystemd-daemon.sym
# ------------------------------------------------------------------------------
+if ENABLE_GTK_DOC
SUBDIRS += \
docs/libudev
+endif
include_HEADERS += \
src/libudev/libudev.h
@@ -1625,8 +1627,10 @@ dist_udevrules_DATA += \
# ------------------------------------------------------------------------------
if ENABLE_GUDEV
+if ENABLE_GTK_DOC
SUBDIRS += \
docs/gudev
+endif
libgudev_includedir = \
$(includedir)/gudev-1.0/gudev