Build generated man pages via configure script

This commit is contained in:
Tobias Brunner
2013-09-13 14:32:51 +02:00
parent f5dcb38ead
commit 8250fc10e8
8 changed files with 29 additions and 33 deletions
+5 -12
View File
@@ -1,13 +1,6 @@
dist_man_MANS = ipsec.conf.5 ipsec.secrets.5 strongswan.conf.5
EXTRA_DIST = ipsec.conf.5.in ipsec.secrets.5.in strongswan.conf.5.in
CLEANFILES = ipsec.conf.5 ipsec.secrets.5 strongswan.conf.5
man_MANS = \
ipsec.conf.5 \
ipsec.secrets.5 \
strongswan.conf.5
SUFFIXES = .in
.in:
$(AM_V_GEN) \
sed \
-e "s:@IPSEC_VERSION@:$(PACKAGE_VERSION):" \
-e "s:@DEV_URANDOM@:$(urandom_device):" \
-e "s:@DEV_RANDOM@:$(random_device):" \
$(srcdir)/$@.in > $@
CLEANFILES = $(man_MANS)