gnucash/rpm/Makefile.am
Dave Peticolas 8e51e62781 David Hampton's make distcheck patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6749 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-28 08:31:32 +00:00

19 lines
474 B
Makefile

EXTRA_DIST = \
.cvsignore \
gnucash.spec.in
all-local: gnucash.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*
gnucash.spec: gnucash.spec.in Makefile
rm -f $@.tmp
sed < $< > $@.tmp \
-e 's:@-VERSION-@:${VERSION}:'
mv $@.tmp $@
CLEANFILES = gnucash.spec