cvs: php-gtk-doc / Makefile.in configure.in
| From: | Andrei Zmievski | Date: | Thu, 29 Jul 2004 04:37:18 +0000 |
| Subject: | cvs: php-gtk-doc / Makefile.in configure.in | ||
| Groups: | php.gtk.doc | ||
| Request: | Send a blank email to php-gtk-doc+get-951@lists.php.net to get a copy of this message | ||
andrei Thu Jul 29 00:37:18 2004 EDT
Modified files:
/php-gtk-doc Makefile.in configure.in
Log:
Add rules for generates docs updates file.
http://cvs.php.net/diff.php/php-gtk-doc/Makefile.in?r1=1.17&r2=1.18&ty=u
Index: php-gtk-doc/Makefile.in
diff -u php-gtk-doc/Makefile.in:1.17 php-gtk-doc/Makefile.in:1.18
--- php-gtk-doc/Makefile.in:1.17 Wed Jul 21 16:31:49 2004
+++ php-gtk-doc/Makefile.in Thu Jul 29 00:37:18 2004
@@ -14,7 +14,7 @@
# +----------------------------------------------------------------------+
#
-# $Id: Makefile.in,v 1.17 2004/07/21 20:31:49 andrei Exp $
+# $Id: Makefile.in,v 1.18 2004/07/29 04:37:18 andrei Exp $
#
#
@@ -47,6 +47,7 @@
searchable_tar: $(BUILD)/searchable_manual_$(LANG).tar.gz
text: $(BUILD)/manual.txt
test: $(BUILD_TEST)/index.html
+updates: $(BUILD_TEST)/updates.php
mirror-files: $(BUILD)/php_gtk_manual_$(LANG).tar.gz \
$(BUILD)/php_gtk_manual_$(LANG).tar.bz2 \
@@ -62,6 +63,7 @@
phpweb = $(STYLESHEET_DIR)/phpweb.xsl
common = $(STYLESHEET_DIR)/common.xsl
docbook = $(STYLESHEET_DIR)/docbook.xsl
+updates = $(STYLESHEET_DIR)/updates.xsl
#
# Make Rules
@@ -82,6 +84,10 @@
@mkdir -p $(BUILD)
$(XSLTPROC) $(docbook) manual.xml > $(BUILD)/bigmanual.html
+$(BUILD_TEST)/updates.php: testclasses.xml
+ @mkdir -p $(BUILD_TEST)
+ $(XSLTPROC) $(updates) testmanual.xml > $(BUILD_TEST)/updates.php
+
$(BUILD)/php_gtk_manual_$(LANG).zip: $(BUILD)/html/index.html
@mkdir -p $(BUILD)
(cd $(BUILD)/html; zip -q -9 - *.html) > $@
@@ -129,14 +135,15 @@
# Clean Rules
#
clean:
- rm -rf $(BUILD)
+ rm -rf $(BUILD) $(BUILD_TEST)
rm -f chapters.ent
+ rm -f testmanual.xml testclasses.xml
distclean: clean
rm -f Makefile manual.xml configure
rm -f config.cache config.log config.status version.ent
cd scripts; rm -f genchapterents.php
- cd /stylesheets/html; rm -f phpweb.xsl
+ cd stylesheets/html; rm -f phpweb.xsl
cvsclean:
@for i in
find . -name .cvsignore; do \
http://cvs.php.net/diff.php/php-gtk-doc/configure.in?r1=1.21&r2=1.22&ty=u
Index: php-gtk-doc/configure.in
diff -u php-gtk-doc/configure.in:1.21 php-gtk-doc/configure.in:1.22
--- php-gtk-doc/configure.in:1.21 Mon Jul 26 19:11:51 2004
+++ php-gtk-doc/configure.in Thu Jul 29 00:37:18 2004
@@ -14,7 +14,7 @@
# +----------------------------------------------------------------------+
#
-# $Id: configure.in,v 1.21 2004/07/26 23:11:51 andrei Exp $
+# $Id: configure.in,v 1.22 2004/07/29 04:37:18 andrei Exp $
#
AC_INIT(global.ent)
@@ -203,6 +203,7 @@
#now add the list of updated files to the testclasses.xml
# this has to be done after chapters.ent is created
+if test -n "$updates" ; then
echo creating testclasses.xml
for updatedfile in $updates
do
@@ -213,5 +214,6 @@
done
# can't I do 2x AC_OUTPUT?
sed "s/@TEST_REFERENCES@/$refs/g" testclasses.xml.in > testclasses.xml
+fi
chmod +x scripts/genchapterents.php