chiark / gitweb /
shared: add API for replacing @FOO@ style variables in strings
[elogind.git] / Makefile.am
index 27b505f9d16620dd320ab00862b0c8aed32efb05..53a3bb9f900897e6b02fbe8272bf8e94cbd47bab 100644 (file)
@@ -798,6 +798,8 @@ libsystemd_shared_la_SOURCES = \
        src/shared/spawn-ask-password-agent.h \
        src/shared/specifier.c \
        src/shared/specifier.h \
+       src/shared/replace-var.c \
+       src/shared/replace-var.h \
        src/shared/spawn-polkit-agent.c \
        src/shared/spawn-polkit-agent.h \
        src/shared/hwclock.c \
@@ -1182,7 +1184,8 @@ noinst_PROGRAMS += \
        test-log \
        test-unit-file \
        test-date \
-       test-sleep
+       test-sleep \
+       test-replace-var
 
 TESTS += \
        test-job-type \
@@ -1191,7 +1194,8 @@ TESTS += \
        test-unit-name \
        test-unit-file \
        test-date \
-       test-sleep
+       test-sleep \
+       test-replace-var
 
 test_engine_SOURCES = \
        src/test/test-engine.c
@@ -1265,6 +1269,12 @@ test_sleep_SOURCES = \
 test_sleep_LDADD = \
        libsystemd-core.la
 
+test_replace_var_SOURCES = \
+       src/test/test-replace-var.c
+
+test_replace_var_LDADD = \
+       libsystemd-shared.la
+
 test_daemon_SOURCES = \
        src/test/test-daemon.c
 
@@ -1800,6 +1810,7 @@ dist_udevhwdb_DATA = \
        hwdb/20-pci-vendor-product.hwdb \
        hwdb/20-pci-classes.hwdb \
        hwdb/20-usb-vendor-product.hwdb \
+       hwdb/20-usb-classes.hwdb \
        hwdb/20-acpi-vendor.hwdb \
        hwdb/20-OUI.hwdb
 
@@ -4008,7 +4019,7 @@ endif
 hwdb-update:
        ( cd hwdb && \
        wget -N http://www.linux-usb.org/usb.ids && \
-       wget -N http://pciids.sourceforge.net/v2.2/pci.ids && \
+       wget -N http://pci-ids.ucw.cz/v2.2/pci.ids && \
        wget -N http://standards.ieee.org/develop/regauth/oui/oui.txt && \
        ./ids-update.pl )