summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-03-25 03:09:24 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-03-25 03:09:24 +0200
commita108beaaf7b19198acbcc5435708d4ff0c8fb5df (patch)
tree34a19a6777682b8363799ef71bb3d5e0dd026b45
parent5f27cb480440c9876f688fedfcba61afb3ca7375 (diff)
Make sure the service directory gets installed
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac1
2 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 7ebee55..b1152ed 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,3 +12,7 @@ include cmd/Makemodule.am
include initd/Makemodule.am
include services/Makemodule.am
include servicecmd/Makemodule.am
+
+install-data-local:
+ $(MKDIR_P) $(DESTDIR)$(SVCDIR)
+
diff --git a/configure.ac b/configure.ac
index 3e8608d..d22cec3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,7 @@ AM_SILENT_RULES([yes])
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_RANLIB
+AC_PROG_MKDIR_P
AC_CONFIG_HEADERS([lib/include/config.h])
AC_DEFINE_DIR(SVCDIR, sysconfdir/init.d, [Startup service directory])