chiark / gitweb /
journal: fix memleak, call set_free before return
[elogind.git] / Makefile.am
index 252792651eff2fa2b30ec5049154fa2db141b883..fadc1c7b59d78373d8d04d8a9becf11202e43082 100644 (file)
@@ -26,9 +26,9 @@ SUBDIRS = . po
 # remove targets if the command fails
 .DELETE_ON_ERROR:
 
-LIBUDEV_CURRENT=2
-LIBUDEV_REVISION=6
-LIBUDEV_AGE=1
+LIBUDEV_CURRENT=3
+LIBUDEV_REVISION=0
+LIBUDEV_AGE=2
 
 LIBGUDEV_CURRENT=1
 LIBGUDEV_REVISION=2
@@ -273,6 +273,7 @@ dist_systemunit_DATA = \
        units/nss-user-lookup.target \
        units/mail-transfer-agent.target \
        units/hibernate.target \
+       units/hybrid-sleep.target \
        units/http-daemon.target \
        units/poweroff.target \
        units/reboot.target \
@@ -329,6 +330,7 @@ nodist_systemunit_DATA = \
        units/rescue.service \
        units/user@.service \
        units/systemd-hibernate.service \
+       units/systemd-hybrid-sleep.service \
        units/systemd-suspend.service \
        units/systemd-halt.service \
        units/systemd-poweroff.service \
@@ -379,6 +381,7 @@ EXTRA_DIST += \
        units/systemd-udev-settle.service \
        units/debug-shell.service.in \
        units/systemd-hibernate.service.in \
+       units/systemd-hybrid-sleep.service.in \
        units/systemd-suspend.service.in \
        units/quotaon.service.in \
        introspect.awk \
@@ -534,6 +537,7 @@ MANPAGES_ALIAS = \
        man/systemd-shutdownd.socket.8 \
        man/systemd-shutdownd.8 \
        man/systemd-hibernate.service.8 \
+       man/systemd-hybrid-sleep.service.8 \
        man/systemd-sleep.8 \
        man/systemd-shutdown.8 \
        man/systemd-poweroff.service.8 \
@@ -576,6 +580,7 @@ MANPAGES_ALIAS = \
        man/SD_JOURNAL_FOREACH_DATA.3 \
        man/sd_journal_get_monotonic_usec.3 \
        man/sd_journal_get_cutoff_monotonic_usec.3 \
+       man/sd_journal_reliable_fd.3 \
        man/sd_journal_process.3 \
        man/sd_journal_wait.3 \
        man/SD_JOURNAL_NOP.3 \
@@ -607,6 +612,7 @@ man/systemd-initctl.8: man/systemd-initctl.service.8
 man/systemd-shutdownd.socket.8: man/systemd-shutdownd.service.8
 man/systemd-shutdownd.8: man/systemd-shutdownd.service.8
 man/systemd-hibernate.service.8: man/systemd-suspend.service.8
+man/systemd-hybrid-sleep.service.8: man/systemd-suspend.service.8
 man/systemd-sleep.8: man/systemd-suspend.service.8
 man/systemd-shutdown.8: man/systemd-halt.service.8
 man/systemd-poweroff.service.8: man/systemd-halt.service.8
@@ -649,6 +655,7 @@ man/sd_journal_restart_data.3: man/sd_journal_get_data.3
 man/SD_JOURNAL_FOREACH_DATA.3: man/sd_journal_get_data.3
 man/sd_journal_get_monotonic_usec.3: man/sd_journal_get_realtime_usec.3
 man/sd_journal_get_cutoff_monotonic_usec.3: man/sd_journal_get_cutoff_realtime_usec.3
+man/sd_journal_reliable_fd.3: man/sd_journal_get_fd.3
 man/sd_journal_process.3: man/sd_journal_get_fd.3
 man/sd_journal_wait.3: man/sd_journal_get_fd.3
 man/SD_JOURNAL_NOP.3: man/sd_journal_get_fd.3
@@ -1174,7 +1181,8 @@ noinst_PROGRAMS += \
        test-unit-name \
        test-log \
        test-unit-file \
-       test-date
+       test-date \
+       test-sleep
 
 TESTS += \
        test-job-type \
@@ -1182,7 +1190,8 @@ TESTS += \
        test-strv \
        test-unit-name \
        test-unit-file \
-       test-date
+       test-date \
+       test-sleep
 
 test_engine_SOURCES = \
        src/test/test-engine.c
@@ -1250,6 +1259,12 @@ test_date_SOURCES = \
 test_date_LDADD = \
        libsystemd-core.la
 
+test_sleep_SOURCES = \
+       src/test/test-sleep.c
+
+test_sleep_LDADD = \
+       libsystemd-core.la
+
 test_daemon_SOURCES = \
        src/test/test-daemon.c
 
@@ -1686,7 +1701,9 @@ libudev_la_SOURCES =\
        src/libudev/libudev-device.c \
        src/libudev/libudev-enumerate.c \
        src/libudev/libudev-monitor.c \
-       src/libudev/libudev-queue.c
+       src/libudev/libudev-queue.c \
+       src/libudev/libudev-hwdb-def.h \
+       src/libudev/libudev-hwdb.c
 
 libudev_la_CFLAGS = \
        $(AM_CFLAGS) \
@@ -1831,7 +1848,6 @@ noinst_LTLIBRARIES += \
 
 libudev_core_la_SOURCES = \
        src/udev/udev.h \
-       src/udev/udev-hwdb.h \
        src/udev/udev-event.c \
        src/udev/udev-watch.c \
        src/udev/udev-node.c \
@@ -2254,6 +2270,7 @@ dist_udevkeymap_DATA = \
        keymaps/hewlett-packard-presario-2100 \
        keymaps/hewlett-packard-tablet \
        keymaps/hewlett-packard-tx2 \
+       keymaps/hewlett-packard_elitebook-8440p \
        keymaps/ibm-thinkpad-usb-keyboard-trackpoint \
        keymaps/inventec-symphony_6.0_7.0 \
        keymaps/lenovo-3000 \