]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
Moved man pages for config files to a separate directory.
authorTobias Brunner <tobias@strongswan.org>
Thu, 9 Sep 2010 11:15:36 +0000 (13:15 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 10 Sep 2010 10:01:19 +0000 (12:01 +0200)
Makefile.am
configure.in
man/.gitignore [new file with mode: 0644]
man/Makefile.am [new file with mode: 0644]
man/ipsec.conf.5.in [moved from src/starter/ipsec.conf.5.in with 100% similarity]
man/ipsec.secrets.5.in [moved from src/pluto/ipsec.secrets.5.in with 100% similarity]
src/pluto/.gitignore
src/pluto/Makefile.am
src/starter/.gitignore
src/starter/Makefile.am

index af0465feeb089d1053a985ac5b4a827e438ffbf3..cba5048b136466f16762d49e257c887903bfcf70 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = src testing
+SUBDIRS = src man testing
 
 if USE_SCRIPTS
   SUBDIRS += scripts
index 0632027a49e8a7c40a3864558bdfca4d7477e486..77c22715e448a881fdf32f0597780b71f70aa74c 100644 (file)
@@ -920,6 +920,7 @@ dnl ==============================
 
 AC_OUTPUT(
        Makefile
+       man/Makefile
        src/Makefile
        src/include/Makefile
        src/libstrongswan/Makefile
diff --git a/man/.gitignore b/man/.gitignore
new file mode 100644 (file)
index 0000000..cf55e34
--- /dev/null
@@ -0,0 +1,2 @@
+ipsec.conf.5
+ipsec.secrets.5
diff --git a/man/Makefile.am b/man/Makefile.am
new file mode 100644 (file)
index 0000000..f57f124
--- /dev/null
@@ -0,0 +1,11 @@
+dist_man_MANS = ipsec.conf.5 ipsec.secrets.5
+EXTRA_DIST = ipsec.conf.5.in ipsec.secrets.5.in
+CLEANFILES = ipsec.conf.5 ipsec.secrets.5
+
+SUFFIXES = .in
+
+.in:
+       sed \
+       -e "s:@IPSEC_VERSION@:$(PACKAGE_VERSION):" \
+       $(srcdir)/$@.in > $@
+
index 7c2ab2ac960b3f8139343d8ca08c49d92c8f27ce..8aa8745ed5f8484d8015b55333a0ec171e036c4d 100644 (file)
@@ -1,3 +1,2 @@
 pluto
 _pluto_adns
-ipsec.secrets.5
index 40b1095d946b66e72b1863273fc39386bcdb111d..934b11a460bc96b418af4b9db1aa1f74a1a295f5 100644 (file)
@@ -88,9 +88,7 @@ _pluto_adns_LDADD = \
 $(LIBFREESWANDIR)/libfreeswan.a \
 -lresolv $(DLLIB)
 
-CLEANFILES = ipsec.secrets.5
-dist_man_MANS = pluto.8 ipsec.secrets.5
-EXTRA_DIST = ipsec.secrets.5.in
+dist_man_MANS = pluto.8
 
 # compile options
 #################
@@ -137,8 +135,3 @@ if USE_XAUTH
   SUBDIRS += plugins/xauth
 endif
 
-ipsec.secrets.5 : ipsec.secrets.5.in
-       sed \
-       -e "s:@IPSEC_VERSION@:$(PACKAGE_VERSION):" \
-       $(srcdir)/$@.in > $@
-
index 9b73f4c2d214d343cb04325ea66d5f0274ad38aa..c1900a30a754b2ca90ee3099747ce0da8cccc158 100644 (file)
@@ -1,3 +1,2 @@
 starter
 y.output
-ipsec.conf.5
index 0bc7fb468bffabe1a98149d636947d7038ed3739..75297f76757269684dcf07f172dbb25077a70886 100644 (file)
@@ -24,9 +24,8 @@ AM_CFLAGS = \
 -DDEBUG
 
 starter_LDADD = defs.o $(top_builddir)/src/libfreeswan/libfreeswan.a $(top_builddir)/src/libstrongswan/libstrongswan.la $(SOCKLIB)
-EXTRA_DIST = parser.l parser.y keywords.txt ipsec.conf ipsec.conf.5.in
-dist_man_MANS = ipsec.conf.5 starter.8
-CLEANFILES = ipsec.conf.5
+EXTRA_DIST = parser.l parser.y keywords.txt ipsec.conf
+dist_man_MANS = starter.8
 MAINTAINERCLEANFILES = lex.yy.c y.tab.c y.tab.h keywords.c
 
 PLUTODIR=$(top_srcdir)/src/pluto
@@ -44,11 +43,6 @@ if USE_LOAD_WARNING
   AM_CFLAGS += -DLOAD_WARNING
 endif
 
-ipsec.conf.5:  ipsec.conf.5.in
-               sed \
-               -e "s:@IPSEC_VERSION@:$(PACKAGE_VERSION):" \
-               $(srcdir)/$@.in > $@
-
 lex.yy.c:      $(srcdir)/parser.l $(srcdir)/parser.y $(srcdir)/parser.h y.tab.h
                $(LEX) $(srcdir)/parser.l