summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 7e06889c9..bbb0d4c1d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -492,6 +492,12 @@ MAINTAINERCLEANFILES = Android.common.mk
@USE_DEV_HEADERS_TRUE@config_includedir = $(ipseclibdir)/include
@USE_DEV_HEADERS_TRUE@nodist_config_include_HEADERS = config.h
+# we can't (and shouldn't) install/uninstall system files during make distcheck,
+# so override the autodetected path for systemd units
+AM_DISTCHECK_CONFIGURE_FLAGS = \
+ --with-systemdsystemunitdir='$$(prefix)/lib/systemd/system'
+
+
# we leave config files behind intentionally so prevent distcheck from complaining
distuninstallcheck_listfiles = find . -type f \! -name '*.conf' \! -name '*.secrets' -print
all: $(BUILT_SOURCES) config.h