cvs: phpdoc / Makefile.in

From: Date: Sun, 03 Apr 2005 11:53:26 +0000
Subject: cvs: phpdoc / Makefile.in
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969367286@lists.php.net to get a copy of this message
techtonik		Sun Apr  3 07:53:26 2005 EDT

  Modified files:              
    /phpdoc	Makefile.in 
  Log:
  + include PECL functions in funclist.txt
  (not a fine solution, but i dk how to make nested "if" statement work on my pc)
  
http://cvs.php.net/diff.php/phpdoc/Makefile.in?r1=1.164&r2=1.165&ty=u
Index: phpdoc/Makefile.in
diff -u phpdoc/Makefile.in:1.164 phpdoc/Makefile.in:1.165
--- phpdoc/Makefile.in:1.164	Sat Apr  2 16:30:54 2005
+++ phpdoc/Makefile.in	Sun Apr  3 07:53:24 2005
@@ -16,7 +16,7 @@
 #
 
 #
-# $Id: Makefile.in,v 1.164 2005/04/02 21:30:54 techtonik Exp $
+# $Id: Makefile.in,v 1.165 2005/04/03 11:53:24 techtonik Exp $
 #
 
 all: html
@@ -28,6 +28,7 @@
 srcdir=@srcdir@
 scriptdir=@srcdir@/scripts
 PHP_SOURCE=@PHP_SOURCE@
+PECL_SOURCE=@PECL_SOURCE@
 LANGCODE=@LANG@
 LANGDIR=@LANGDIR@
 LANG=@LANG@ -D .
@@ -110,7 +111,21 @@
 FORCE:
 
 funclist.txt: FORCE
-	$(PHP) -q $(scriptdir)/genfunclist.php $(PHP_SOURCE) > funclist.txt
+	@if test "$(PHP_SOURCE)" = "no"; then \
+	    echo "WARNING: recreating the function list needs php sources" ;\
+	    echo "         which were not found by configure" ;\
+	    echo "         aborting " ;\
+	else \
+	    $(PHP) -q $(scriptdir)/genfunclist.php $(PHP_SOURCE) > funclist.txt ;\
+	fi; \
+        if test "$(PECL_SOURCE)" = "no" -a ! "$(PHP_SOURCE)" =
"no"; then \
+            echo "WARNING: pecl sources not found - pecl functions" ;\
+            echo "         will not be present in funclist.txt" ;\
+        elif test ! "$(PHP_SOURCE)" = "no"; then \
+            echo ""  >> funclist.txt ;\
+            echo "# --------- PECL Stuff --------- " >> funclist.txt ;\
+            $(PHP) -q $(scriptdir)/genfunclist.php $(PECL_SOURCE) >> funclist.txt ;\
+        fi
 
 funcsummary.txt: FORCE
 	$(scriptdir)/genfuncsummary.sh $(PHP_SOURCE) > funcsummary.txt


Thread (1 message)

  • anatoly techtonik
« previous php.doc (#969367286) next »