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 c3cdb6b27a..7fc5e64143 100644
--- a/src/grp-journal/journalctl/Makefile
+++ b/src/grp-journal/journalctl/Makefile
@@ -23,6 +23,9 @@
include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
+rootbin_PROGRAMS += \
+ journalctl
+
# using _CFLAGS = in the conditional below would suppress AM_CFLAGS
journalctl_CFLAGS = \
$(AM_CFLAGS)
@@ -46,4 +49,6 @@ journalctl_LDADD += \
$(QRENCODE_LIBS)
endif # HAVE_QRENCODE
+systemd.CPPFLAGS += -DCATALOG_DATABASE=\"$(catalogstatedir)/database\"
+
include $(topsrcdir)/build-aux/Makefile.tail.mk