summaryrefslogtreecommitdiff
path: root/src/grp-journal/journalctl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-journal/journalctl/Makefile')
-rw-r--r--src/grp-journal/journalctl/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/grp-journal/journalctl/Makefile b/src/grp-journal/journalctl/Makefile
index f8519405d2..880827b85d 100644
--- a/src/grp-journal/journalctl/Makefile
+++ b/src/grp-journal/journalctl/Makefile
@@ -30,6 +30,7 @@ journalctl_SOURCES = \
src/journal/journalctl.c
journalctl_LDADD = \
+ libsystemd-internal.la \
libsystemd-shared.la \
libudev-core.la
@@ -51,11 +52,15 @@ rootbin_PROGRAMS += \
nodist_systemunit_DATA += \
units/systemd-journal-flush.service \
units/systemd-journal-catalog-update.service
+
SYSINIT_TARGET_WANTS += \
systemd-journal-flush.service \
systemd-journal-catalog-update.service
+
EXTRA_DIST += \
units/systemd-journal-flush.service.in \
units/systemd-journal-catalog-update.service.in
+sd.CPPFLAGS += -DCATALOG_DATABASE=\"$(catalogstatedir)/database\"
+
include $(topsrcdir)/build-aux/Makefile.tail.mk