]> git.saurik.com Git - bison.git/blobdiff - djgpp/Makefile.maint
Fix PACKAGE variable computation.
[bison.git] / djgpp / Makefile.maint
index 3d386d6878e77911c0f58f52904acfa549bacd74..03746746fb4fda457ab808fbe2b8021138f20dd2 100644 (file)
@@ -9,7 +9,7 @@ SHELL = /bin/sh
 all: README
 
 README: README.in $(top_srcdir)/configure
-       PACKAGE=`grep "^[       ]*PACKAGE=" $(top_srcdir)/configure | sed -e 's/^[      ]*PACKAGE=//'`; \
+       PACKAGE=`grep "^[       ]*PACKAGE=" $(top_srcdir)/configure | sed -e 's/^[      ]*PACKAGE=//' -e s/[\"\']//g`; \
        VERSION=`grep "^[       ]*VERSION=" $(top_srcdir)/configure | sed -e 's/^[      ]*VERSION=//' -e s/[\"\']//g`; \
        package_version=`echo "$${VERSION}" | sed 's/\.//g'`; \
        tree_version=`echo "$${VERSION}" | sed 's/\.//2g'`; \