summaryrefslogtreecommitdiff
path: root/src/ipsec/Makefile.am
blob: f3ca1ca0699c891c90b39a6cec32f2597852df14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
sbin_SCRIPTS = ipsec
CLEANFILES = ipsec
dist_man8_MANS = ipsec.8
EXTRA_DIST = ipsec.in

ipsec : ipsec.in
	sed \
	-e "s:@IPSEC_VERSION@:$(PACKAGE_VERSION):" \
	-e "s:@IPSEC_NAME@:$(PACKAGE_NAME):" \
	-e "s:@IPSEC_DISTRO@::" \
	-e "s:@IPSEC_DIR@:$(ipsecdir):" \
	-e "s:@IPSEC_SBINDIR@:$(sbindir):" \
	-e "s:@IPSEC_CONFDIR@:$(confdir):" \
	-e "s:@IPSEC_PIDDIR@:$(piddir):" \
	$(srcdir)/$@.in > $@
	chmod +x $@