summaryrefslogtreecommitdiff
path: root/src/ipsec/Makefile.am
blob: 44964e041cea06ee3583f370b6c969d6fba58cb3 (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):" \
	$< > $@
	chmod +x $@