Reworked how man pages are generated. Now, man pages in the client and server directory are "fwknop(d).8.in" and a target was added to Makefile.am to create the man pages while doing variable substitutions based on directives specified via the configure script. Minor tweak to fwknop.spec file.

git-svn-id: file:///home/mbr/svn/fwknop/trunk@251 510a4753-2344-4c79-9c09-4d669213fbeb
This commit is contained in:
Damien Stuart
2010-07-11 01:27:12 +00:00
parent 492b1db861
commit a0b813ca55
7 changed files with 60 additions and 12 deletions

View File

@@ -23,3 +23,18 @@ dist_man_MANS = fwknopd.8
dist_fwknopd_DATA = fwknopd.conf access.conf
EXTRA_DIST = fwknopd.8.in
fwknopd.8: fwknopd.8.in
$(SED) \
-e 's|[@]prefix@|$(prefix)|g' \
-e 's|[@]sysconfdir@|$(sysconfdir)|g' \
-e 's|[@]datarootdir@|$(datarootdir)|g' \
-e 's|[@]bindir@|$(bindir)|g' \
-e 's|[@]sbindir@|$(sbindir)|g' \
-e 's|[@]localstatedir@|$(localstatedir)|g' \
< "$<" > "$@"
clean-local:
rm -f fwknopd.8