hholzgra Sat Feb 2 08:02:47 2002 EDT
Modified files:
/phpdoc configure.in
Log:
get rid of a ever growin long line (and no need to remember to add *.in
files here anymore)
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.124 phpdoc/configure.in:1.125
--- phpdoc/configure.in:1.124 Fri Feb 1 06:13:36 2002
+++ phpdoc/configure.in Sat Feb 2 08:02:46 2002
@@ -1,7 +1,9 @@
-dnl $Id: configure.in,v 1.124 2002/02/01 11:13:36 hholzgra Exp $
+dnl $Id: configure.in,v 1.125 2002/02/02 13:02:46 hholzgra Exp $
dnl autoconf initialisation
AC_INIT()
+SRCDIR=$srcdir
+AC_SUBST(SRCDIR)
dnl debug output
echo "file versions"
@@ -624,20 +626,19 @@
) > autogenerated_rules
AUTOGENERATED_RULES=autogenerated_rules
AC_SUBST_FILE(AUTOGENERATED_RULES)
+rm -f autogenerated_rules
dnl }}}
dnl {{{ generate output files
-dnl keep in one line for win32
-AC_OUTPUT(Makefile entities/version.ent dsssl/common.dsl dsssl/howto.dsl
dsssl/html.dsl dsssl/html-locale.dsl dsssl/install.dsl dsssl/print.dsl
dsssl/phpweb.dsl dsssl/quickref.dsl manual.xml xsl/html.xsl xsl/bightml.xsl
xsl/print.xsl xsl/htmlhelp.xsl scripts/missing-entities.sh)
-rm -f autogenerated_rules
dnl {{{ generate additional entity file for translation support
dnl check for files and translations, create chapter entities
echo creating entities/chapters.ent
DEPEND_FILES=""
+mkdir -p entities
rm -f entities/chapters.ent
echo "<!-- DON'T TOUCH - AUTOGENERATED BY ./configure -->" > entities/chapters.ent
if test -d "$ZENDAPI"; then
@@ -675,6 +676,21 @@
chmod u+x scripts/missing-entities.sh
scripts/missing-entities.sh
+dnl }}}
+
+dnl {{{ find all *.in files and process them
+for infile in `find $srcdir -name "*.in"`
+do
+ if test "$infile" != "configure.in"
+ then
+ outfile=`basename $infile .in`
+ outdir=`dirname $infile`
+ outdir=`echo $outdir/ | sed -e"s|$srcdir/||"`
+ OUTFILES="$OUTFILES ./$outdir$outfile"
+ fi
+done
+AC_OUTPUT($OUTFILES)
+find . -name "*.sh" | xargs chmod u+x
dnl }}}
dnl }}}