[PHP-DOC] cvs: phpdoc / Makefile.in From: Hartmut Holzgraefe (hartmut <email protected>)
Date: 01/07/02

hholzgra Mon Jan 7 12:36:35 2002 EDT

  Modified files:
    /phpdoc Makefile.in
  Log:
  quick fixes to make it work on FreeBSD
  
  
Index: phpdoc/Makefile.in
diff -u phpdoc/Makefile.in:1.86 phpdoc/Makefile.in:1.87
--- phpdoc/Makefile.in:1.86 Mon Jan 7 05:33:49 2002
+++ phpdoc/Makefile.in Mon Jan 7 12:36:35 2002
@@ -1,4 +1,4 @@
-#
+
 # +----------------------------------------------------------------------+
 # | PHP Version 4.0 |
 # +----------------------------------------------------------------------+
@@ -17,7 +17,7 @@
 #
 
 #
-# $Id: Makefile.in,v 1.86 2002/01/07 10:33:49 hholzgra Exp $
+# $Id: Makefile.in,v 1.87 2002/01/07 17:36:35 hholzgra Exp $
 #
 
 
@@ -26,16 +26,8 @@
 scriptdir= <email protected>@/scripts
 PHP_SOURCE= <email protected>@
 LANG= <email protected>@
-ifeq ( <email protected>@,no)
- JADE=@ echo need jade or openjade to do this; exit;
-else
- JADE= <email protected>@  <email protected>@ -wno-idref
-endif
-ifeq ( <email protected>@,no)
- NSGMLS=@ echo need nsgmls to do this; exit;
-else
- NSGMLS= <email protected>@  <email protected>@
-endif
+JADE= <email protected>@  <email protected>@ -wno-idref
+NSGMLS= <email protected>@  <email protected>@
 PHP= <email protected>@
 
 CATALOG= <email protected>@
@@ -110,14 +102,15 @@
         PHPDOCDIR=$(srcdir) $(PHP) -f $(scriptdir)/revcheck.php $(LANG) > revcheck.html
 
 funcindex.xml: quickref.txt
-ifeq ($(PHP),no)
-  <email protected> "WARNING: recreating the function index needs php"
-  <email protected> " which was not found by configure"
-  <email protected> " reusing old file"
- touch funcindex.xml
-else
- $(PHP) -q -d short_tags=off $(srcdir)/scripts/genfuncindex.php ../quickref.txt  <email protected>@ > funcindex.xml
-endif
+  <email protected> test "$(PHP)" = "no"; then \
+ echo "WARNING: recreating the function index needs php" ;\
+ echo " which was not found by configure" ;\
+ echo " reusing old file" ;\
+ touch funcindex.xml ;\
+ else \
+ echo "$(PHP) -q -d short_tags=off $(srcdir)/scripts/genfuncindex.php ../quickref.txt  <email protected>@ > funcindex.xml" ;\
+ $(PHP) -q -d short_tags=off $(srcdir)/scripts/genfuncindex.php ../quickref.txt  <email protected>@ > funcindex.xml ;\
+ fi
 
 Makefile: $(srcdir)/Makefile.in ./config.status
         CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
@@ -240,7 +233,7 @@
 
 # test all possible errors
 test: manual.xml
- $(NSGMLS) -i lang-$(LANG) -s $(srcdir)/dtds/dbxml-3.1.7/phpdocxml.dcl $<
+ $(NSGMLS) -i lang-$(LANG) -s $(srcdir)/dtds/dbxml-3.1.7/phpdocxml.dcl manual.xml
 
 # ignore missing IDs and check if the manual can be generated anyway
 test_man_gen: manual.xml