From de637428a1daf49c28a80eb280b3be52e7ccbc2b Mon Sep 17 00:00:00 2001 From: erg Date: Thu, 13 Jan 2005 23:44:46 +0000 Subject: [PATCH] Fix rule for generating exop.h - similar change already committed to old graphviz --- lib/expr/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/expr/Makefile.am b/lib/expr/Makefile.am index a27266f37..adebddd64 100644 --- a/lib/expr/Makefile.am +++ b/lib/expr/Makefile.am @@ -38,7 +38,8 @@ exparse.h: y.output exop.h: exparse.h echo "static const char* exop[] = {" > exop.h - @SED@ -e '/^[ ]*#[ ]*define[ ][ ]*[A-Z]/!d' -e 's/^[ ]*#[ ]*define[ ]*\([A-Z0-9_]*\).*/ "\1",/' < exparse.h >> exop.h + echo " \"MINTOKEN\"," >> exop.h + $(SED) -e '1,/MINTOKEN/d' -e '/^[ ]*#[ ]*define[ ][ ]*[A-Z]/!d' -e 's/^[ ]*#[ ]*define[ ]*\([A-Z0-9_]*\).*/ "\1",/' < exparse.h >> exop.h echo "};" >> exop.h .3.pdf: -- 2.40.0