summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-11-29 21:28:22 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-11-29 21:28:22 -0500
commitf0dba1c481159490d2f8ce8e0a29e5ff05279a30 (patch)
tree00375446c5358b14d27eb3bb504aa7cb9035d54e
parent796cdb6effad1c36d4b861c1fe3917d26f23a968 (diff)
split Makefile.am a bit more
-rw-r--r--Makefile.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index bb5c03721d..3ffb00eecf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3957,6 +3957,7 @@ systemd_hwdb_LDADD = \
rootbin_PROGRAMS += \
systemd-hwdb
+#@auto/hwdb/Makefile
dist_udevhwdb_DATA = \
hwdb/20-pci-vendor-model.hwdb \
hwdb/20-pci-classes.hwdb \
@@ -3974,12 +3975,14 @@ dist_udevhwdb_DATA = \
hwdb/70-pointingstick.hwdb \
hwdb/70-touchpad.hwdb
+#@auto/systemd-hwdb/Makefile
SYSINIT_TARGET_WANTS += \
systemd-hwdb-update.service
+#@auto/hwdb/Makefile
# Update hwdb on installation. Do not bother if installing
# in DESTDIR, since this is likely for packaging purposes.
-hwdb-update-hook:
+hwdb-update-hook: $(DESTDIR)$(rootbindir)/systemd-hwdb
-test -n "$(DESTDIR)" || $(rootbindir)/systemd-hwdb update
INSTALL_DATA_HOOKS += \
@@ -3989,8 +3992,11 @@ hwdb-remove-hook:
-test -n "$(DESTDIR)" || rm -f /etc/udev/hwdb.bin
endif # ENABLE_HWDB
+#@auto/systemd-hwdb/Makefile
+EXTRA_DIST += \
+ units/systemd-hwdb-update.service.in
+#@auto/hwdb/Makefile
EXTRA_DIST += \
- units/systemd-hwdb-update.service.in \
hwdb/ids-update.pl \
hwdb/sdio.ids