Moved man pages for config files to a separate directory.

This commit is contained in:
Tobias Brunner 2010-09-09 13:15:36 +02:00
parent 3c1debeb59
commit 0a1233e642
10 changed files with 18 additions and 19 deletions

View File

@ -1,4 +1,4 @@
SUBDIRS = src testing
SUBDIRS = src man testing
if USE_SCRIPTS
SUBDIRS += scripts

View File

@ -920,6 +920,7 @@ dnl ==============================
AC_OUTPUT(
Makefile
man/Makefile
src/Makefile
src/include/Makefile
src/libstrongswan/Makefile

2
man/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
ipsec.conf.5
ipsec.secrets.5

11
man/Makefile.am Normal file
View File

@ -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 > $@

View File

@ -1,3 +1,2 @@
pluto
_pluto_adns
ipsec.secrets.5

View 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 > $@

View File

@ -1,3 +1,2 @@
starter
y.output
ipsec.conf.5

View 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