Fixed handling of man page generation in Makefile.am so it works from alternate build directories.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@289 510a4753-2344-4c79-9c09-4d669213fbeb
This commit is contained in:
@@ -74,8 +74,11 @@ migrate to this version, there are some things to be aware of:
|
||||
NOTE FOR DEVELOPERS
|
||||
===================
|
||||
If you are pulling this distribution from Subversion, you will need to
|
||||
run the "autogen.sh" script in the top of the distribution directory in '
|
||||
order to generate the autoconf (and other) meta files, and the `configure'
|
||||
run the "autoreconf -i" the first time after unpacking. After that, you
|
||||
can leave off the "-i" option of "autoreconf" when you want to regenerate
|
||||
the configuration. If, for wome reason, autoreconf does not work for you,
|
||||
you can try the "autogen.sh" script in the top of the distribution directory
|
||||
in order to generate the autoconf (and other) meta files, and the `configure'
|
||||
script.
|
||||
|
||||
The fwknop and fwknopd man page nroff sources are included in their
|
||||
|
||||
+3
-2
@@ -12,7 +12,8 @@ dist_man_MANS = fwknop.8
|
||||
|
||||
EXTRA_DIST = fwknop.8.in
|
||||
|
||||
fwknop.8: fwknop.8.in
|
||||
#fwknop.8: fwknop.8.in
|
||||
fwknop.8: $(top_srcdir)/client/fwknop.8.in
|
||||
$(SED) \
|
||||
-e 's|[@]prefix@|$(prefix)|g' \
|
||||
-e 's|[@]sysconfdir@|$(sysconfdir)|g' \
|
||||
@@ -20,7 +21,7 @@ fwknop.8: fwknop.8.in
|
||||
-e 's|[@]bindir@|$(bindir)|g' \
|
||||
-e 's|[@]sbindir@|$(sbindir)|g' \
|
||||
-e 's|[@]localstatedir@|$(localstatedir)|g' \
|
||||
< "fwknop.8.in" > "$@"
|
||||
< $(top_srcdir)/client/fwknop.8.in > "$@"
|
||||
|
||||
clean-local:
|
||||
rm -f fwknop.8
|
||||
|
||||
+2
-2
@@ -28,7 +28,7 @@ dist_fwknopd_DATA = fwknopd.conf access.conf
|
||||
|
||||
EXTRA_DIST = fwknopd.8.in
|
||||
|
||||
fwknopd.8: fwknopd.8.in
|
||||
fwknopd.8: $(top_srcdir)/server/fwknopd.8.in
|
||||
$(SED) \
|
||||
-e 's|[@]prefix@|$(prefix)|g' \
|
||||
-e 's|[@]sysconfdir@|$(sysconfdir)|g' \
|
||||
@@ -36,7 +36,7 @@ fwknopd.8: fwknopd.8.in
|
||||
-e 's|[@]bindir@|$(bindir)|g' \
|
||||
-e 's|[@]sbindir@|$(sbindir)|g' \
|
||||
-e 's|[@]localstatedir@|$(localstatedir)|g' \
|
||||
< "fwknopd.8.in" > "$@"
|
||||
< $(top_srcdir)/server/fwknopd.8.in > "$@"
|
||||
|
||||
clean-local:
|
||||
rm -f fwknopd.8
|
||||
|
||||
Reference in New Issue
Block a user