diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-03-25 03:09:24 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-03-25 03:09:24 +0200 |
commit | a108beaaf7b19198acbcc5435708d4ff0c8fb5df (patch) | |
tree | 34a19a6777682b8363799ef71bb3d5e0dd026b45 | |
parent | 5f27cb480440c9876f688fedfcba61afb3ca7375 (diff) |
Make sure the service directory gets installed
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | configure.ac | 1 |
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]) |