xref: /netbsd-src/crypto/dist/ipsec-tools/rpm/Makefile.am (revision a8f0ad3c370469b97a129dc51652ba665a38bed8)
1SUBDIRS = suse
2
3EXTRA_DIST = \
4  ipsec-tools.spec.in
5
6all-local: ipsec-tools.spec
7
8## We borrow guile's convention and use @-...-@ as the substitution
9## brackets here, instead of the usual @...@.  This prevents autoconf
10## from substituting the values directly into the left-hand sides of
11## the sed substitutions.  *sigh*
12ipsec-tools.spec: ipsec-tools.spec.in Makefile
13	rm -f $@.tmp
14	sed < $< > $@.tmp \
15	    -e 's:@-VERSION-@:${VERSION}:'
16	mv $@.tmp $@
17
18CLEANFILES = ipsec-tools.spec
19