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