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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user