]> git.saurik.com Git - bison.git/blob - djgpp/Makefile.maint
* src/parse-gram.y (version_check): Exit 63 to please missing
[bison.git] / djgpp / Makefile.maint
1 # DJGPP Maintainer's Makefile -*-Makefile-*-
2 # Requires GNU sed
3
4 top_srcdir = ..
5 srcdir = .
6
7 SHELL = /bin/sh
8
9 all: README
10
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'`; \
16 sed \
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-$@
22 mv t-$@ $@