From: stephan b. <sg...@us...> - 2004-12-23 00:37:28
|
Update of /cvsroot/pclasses/pclasses2/toc/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28301/bin Modified Files: create_makefile_stubs.sh Log Message: copied in Makefiles from s11n toc dist ==> Makefile.toc. These work. Index: create_makefile_stubs.sh =================================================================== RCS file: /cvsroot/pclasses/pclasses2/toc/bin/create_makefile_stubs.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- create_makefile_stubs.sh 22 Dec 2004 19:04:23 -0000 1.1 +++ create_makefile_stubs.sh 23 Dec 2004 00:37:17 -0000 1.2 @@ -73,7 +73,7 @@ echo "############## FLEXES:" export flext=flex local flexes="$(ls *.${flext} 2>/dev/null)" - test x"$flexes" != "$flexes" && { + test "x$flexes" != "x" && { stderr "Adding FLEXES" echo "# WARNING: FLEXES stuff only works for C++-based flexers" echo -n "FLEXES = " @@ -218,6 +218,7 @@ stderr "Creating $d/$out" { cat <<EOF +#!/usr/bin/make -f ################################################### # AUTO-GENERATED guess at a toc-aware Makefile, # based off of the contents of directory: |