conf: Install strongswan.conf template from a separate directory

This commit is contained in:
Tobias Brunner
2014-02-12 14:34:33 +01:00
parent 9925eeabd2
commit c75acc4c44
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
SUBDIRS = src man init testing
SUBDIRS = src man conf init testing
if USE_SCRIPTS
SUBDIRS += scripts
+5
View File
@@ -0,0 +1,5 @@
EXTRA_DIST = strongswan.conf
install-exec-local :
test -e "$(DESTDIR)${sysconfdir}" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)"
test -e "$(DESTDIR)$(sysconfdir)/strongswan.conf" || $(INSTALL) -m 640 $(srcdir)/strongswan.conf $(DESTDIR)$(sysconfdir)/strongswan.conf || true
+1
View File
@@ -1368,6 +1368,7 @@ fi
AC_CONFIG_FILES([
Makefile
conf/Makefile
man/Makefile
init/Makefile
init/systemd/Makefile
-6
View File
@@ -119,9 +119,3 @@ endif
if USE_INTEGRITY_TEST
SUBDIRS += checksum
endif
EXTRA_DIST = strongswan.conf
install-exec-local :
test -e "$(DESTDIR)${sysconfdir}" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)"
test -e "$(DESTDIR)$(sysconfdir)/strongswan.conf" || $(INSTALL) -m 640 $(srcdir)/strongswan.conf $(DESTDIR)$(sysconfdir)/strongswan.conf || true