summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorUmut Tezduyar Lindskog <umut.tezduyar@axis.com>2014-12-19 11:47:30 +0100
committerTom Gundersen <teg@jklm.no>2014-12-20 00:23:37 +0100
commitfe659612e40e6a0cf91a73b10aa45eea958b747e (patch)
treec6d5acfa333689257dadebc95ab21f0265dded38 /Makefile.am
parent7a6f1457462840ed52f2a332e2bd56ca210cff2d (diff)
build: add option to disable hwdb
[tomegun: fix Makefile-man.am, based on fix from Michael Biebl]
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 86bcfdfd8b..baa1398a41 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3608,6 +3608,7 @@ udevadm_LDADD = \
libudev-core.la
# ------------------------------------------------------------------------------
+if ENABLE_HWDB
INSTALL_DIRS += \
$(sysconfdir)/udev/hwdb.d
@@ -3656,6 +3657,7 @@ INSTALL_DATA_HOOKS += \
hwdb-remove-hook:
-test -n "$(DESTDIR)" || rm -f /etc/udev/hwdb.bin
+endif
# ------------------------------------------------------------------------------
TESTS += \