summaryrefslogtreecommitdiff
path: root/src/grp-system/systemctl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-system/systemctl/Makefile')
-rw-r--r--src/grp-system/systemctl/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/grp-system/systemctl/Makefile b/src/grp-system/systemctl/Makefile
index 3551118514..5931d4dcbc 100644
--- a/src/grp-system/systemctl/Makefile
+++ b/src/grp-system/systemctl/Makefile
@@ -28,6 +28,15 @@ systemctl_SOURCES = \
src/systemctl/systemctl.c
systemctl_LDADD = \
+ libsystemd-internal.la \
libsystemd-shared.la
+files.out.all += systemctl.completion.bash
+files.out.all += systemctl.completion.zsh
+sd.sed_files += systemctl.completion.bash
+sd.sed_files += systemctl.completion.zsh
+sd.CPPFLAGS += -DROOTLIBEXECDIR=\"$(rootlibexecdir)\"
+sd.CPPFLAGS += -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\"
+sd.CPPFLAGS += -DSYSTEMD_BINARY_PATH=\"$(rootlibexecdir)/systemd\"
+
include $(topsrcdir)/build-aux/Makefile.tail.mk