1 # Maintainer's Makefile -*-Makefile-*-
8 all: README fnchange.lst
10 fnchange.lst: fnchange.in $(top_srcdir)/configure.in
11 PACKAGE=`grep "^PACKAGE=" $(top_srcdir)/configure.in | sed -e 's/^PACKAGE=//'`; \
12 VERSION=`grep "^VERSION=" $(top_srcdir)/configure.in | sed -e 's/^VERSION=//'`; \
15 -e "s/@V@/$${PACKAGE}-$${VERSION}/g" \
16 $(srcdir)/fnchange.in > t-$@
19 README: README.in $(top_srcdir)/configure.in
20 PACKAGE=`grep "^PACKAGE=" $(top_srcdir)/configure.in | sed -e 's/^PACKAGE=//'`; \
21 VERSION=`grep "^VERSION=" $(top_srcdir)/configure.in | sed -e 's/^VERSION=//'`; \
22 packageversion=`echo "$${VERSION}" | sed 's/\.//g'`; \
23 treeversion=`echo "$${VERSION}" | sed 's/\.//g'`; \
25 -e "s/@V@/$${PACKAGE}-$${VERSION}/g" \
26 -e "s/@VER@/$${VERSION}/g" \
27 -e "s/@packageversion@/$$packageversion/g" \
28 -e "s/@treeversion@/$$treeversion/g" \
29 $(srcdir)/README.in > t-$@