Revert "Revert "and added files""
[bcm963xx.git] / userapps / opensource / ipsec-tools / rpm / Makefile.am
1 SUBDIRS = suse
2
3 EXTRA_DIST = \
4   ipsec-tools.spec.in
5
6 all-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*
12 ipsec-tools.spec: ipsec-tools.spec.in Makefile
13         rm -f $@.tmp
14         sed < $< > $@.tmp \
15             -e 's:@-VERSION-@:${VERSION}:'
16         mv $@.tmp $@
17
18 CLEANFILES = ipsec-tools.spec