chiark / gitweb /
build-sys: allow update-hwdb with seperate build dir
[elogind.git] / Makefile.am
index 8f68a1005932ef8536704324824b479cde8efa40..2a673555bbe3d17c3438ad2606d5ab260baa6dfc 100644 (file)
@@ -142,7 +142,6 @@ AM_CPPFLAGS = \
        -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
        -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
        -DROOTPREFIX=\"$(rootprefix)\" \
-       -DRUNTIME_DIR=\"/run\" \
        -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
        -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
        -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
@@ -4097,11 +4096,11 @@ DISTCHECK_CONFIGURE_FLAGS += \
 endif
 
 hwdb-update:
-       ( cd hwdb && \
-       wget -N http://www.linux-usb.org/usb.ids && \
-       wget -N http://pci-ids.ucw.cz/v2.2/pci.ids && \
-       wget -N http://standards.ieee.org/develop/regauth/oui/oui.txt && \
-       wget -N http://standards.ieee.org/develop/regauth/iab/iab.txt && \
+       ( cd $(top_srcdir)/hwdb && \
+       wget -N http://www.linux-usb.org/usb.ids \
+               http://pci-ids.ucw.cz/v2.2/pci.ids \
+               http://standards.ieee.org/develop/regauth/oui/oui.txt \
+               http://standards.ieee.org/develop/regauth/iab/iab.txt && \
        ./ids-update.pl )
 
 upload: all distcheck