1 # DJGPP Maintainer's Makefile -*-Makefile-*-
11 README: README.in $(top_srcdir)/configure
12 PACKAGE=`grep "^[ ]*PACKAGE=" $(top_srcdir)/configure | sed -e 's/^[ ]*PACKAGE=//'`; \
13 VERSION=`grep "^[ ]*VERSION=" $(top_srcdir)/configure | sed -e 's/^[ ]*VERSION=//' -e s/[\"\']//g`; \
14 package_version=`echo "$${VERSION}" | sed 's/\.//g'`; \
15 tree_version=`echo "$${VERSION}" | sed 's/\.//2g'`; \
17 -e "s/@V@/$${PACKAGE}-$${VERSION}/g" \
18 -e "s/@VERSION@/$${VERSION}/g" \
19 -e "s/@PACKAGE_VERSION@/$$package_version/g" \
20 -e "s/@TREE_VERSION@/$$tree_version/g" \
21 $(srcdir)/README.in > t-$@