CVS update: php3/doc
| From: | jim | Date: | Fri, 28 May 1999 23:19:02 +0000 |
| Subject: | CVS update: php3/doc | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6221@lists.php.net to get a copy of this message | ||
Date: Friday May 28, 1999 @ 19:19
Author: jim
Update of /repository/php3/doc
In directory php:/tmp/cvs-serv31916
Modified Files:
Makefile.in html.dsl.in phpweb.dsl.in
Log Message:
Generate the html version of the docs in an html subdirectory, and the php3 version in a php3
subdirectory. This broke all of Stig's clever sync/mirroring stuff and probably some of the
other esoteric stuff in the Makefile, but it keeps the doc directory uncluttered.
Index: php3/doc/Makefile.in
diff -u php3/doc/Makefile.in:1.97 php3/doc/Makefile.in:1.98
--- php3/doc/Makefile.in:1.97 Fri May 28 18:22:21 1999
+++ php3/doc/Makefile.in Fri May 28 19:19:01 1999
@@ -26,7 +26,7 @@
# +----------------------------------------------------------------------+
#
-# $Id: Makefile.in,v 1.97 1999/05/28 22:22:21 jim Exp $
+# $Id: Makefile.in,v 1.98 1999/05/28 23:19:01 jim Exp $
#
VPATH=@srcdir@
@@ -106,7 +106,7 @@
ONLINE_MANUAL=*.php3
DIST_FILES=manual.zip manual.tar.gz manual.rtf.gz bigmanual.html.gz \
manual.prc manual.txt.gz
-MIRROR_TARGETS=manual.php3 $(DIST_FILES) manual.html
+MIRROR_TARGETS=php3/manual.php3 $(DIST_FILES) html/manual.html
html.dsl: html.dsl.in ../config.status
cd .. && CONFIG_FILES=doc/$@ CONFIG_HEADERS= ./config.status
@@ -121,8 +121,8 @@
.manual.sgml: $(FILES)
touch .manual.sgml
-html: manual.html
-phpweb: manual.php3
+html: html/manual.html
+phpweb: php3/manual.php3
rtf: manual.rtf
dvi: manual.dvi
ps: manual.ps
@@ -155,7 +155,7 @@
snapshot: manual-snapshot.tar.gz
-manual-snapshot.tar.gz: bigmanual.html manual.html manual.rtf manual.txt
+manual-snapshot.tar.gz: bigmanual.html html/manual.html manual.rtf manual.txt
tar -cvzf $@ [a-z]*.html manual.rtf manual.txt
status: checkdoc
@@ -177,23 +177,25 @@
manual.txt.gz: manual.txt
gzip -c $< > $@
-manual.html: $(srcdir)/manual.sgml $(HTML_STYLESHEET)
- jade -d $(HTML_STYLESHEET) -t sgml $(srcdir)/manual.sgml
+html/manual.html: $(srcdir)/manual.sgml $(HTML_STYLESHEET)
+ @test -d html || mkdir html
+ jade -d $(HTML_STYLESHEET) -V use-output-dir -t sgml $(srcdir)/manual.sgml
+
+php3/manual.php3: $(srcdir)/manual.sgml $(PHPWEB_STYLESHEET)
+ @test -d php3 || mkdir php3
+ -jade -d $(PHPWEB_STYLESHEET) -V use-output-dir -t sgml $(srcdir)/manual.sgml
-manual.php3: $(srcdir)/manual.sgml $(PHPWEB_STYLESHEET)
- -jade -d $(PHPWEB_STYLESHEET) -t sgml $(srcdir)/manual.sgml
-
manual.txt: bigmanual.html
lynx -nolist -dump file:
pwd/bigmanual.html > manual.txt
manual.prc: manual.txt makedoc
./makedoc -b manual.txt manual.prc 'PHP3 Manual'
-manual.zip: $(srcdir)/manual.html
- -rm -f $@ && (cd $(srcdir); zip -9 -q $@ *.html -x bigmanual.html)
+manual.zip: $(srcdir)/html/manual.html
+ -rm -f $@ && (cd html; zip -9 -q $@ *.html)
-manual.tar.gz: $(srcdir)/manual.html
- -rm -f $@ && (cd $(srcdir); tar -cf - *.html --exclude bigmanual.html | gzip >
manual.tar.gz)
+manual.tar.gz: $(srcdir)/html/manual.html
+ -rm -f $@ && (cd html; tar -cf - *.html) | gzip > manual.tar.gz
howto.html: $(srcdir)/howto.sgml $(HOWTO_STYLESHEET) global.ent
jade -d $(HOWTO_STYLESHEET) -t sgml $(srcdir)/howto.sgml
Index: php3/doc/html.dsl.in
diff -u php3/doc/html.dsl.in:1.2 php3/doc/html.dsl.in:1.3
--- php3/doc/html.dsl.in:1.2 Sun May 16 23:13:39 1999
+++ php3/doc/html.dsl.in Fri May 28 19:19:01 1999
@@ -6,7 +6,7 @@
<!--
- $Id: html.dsl.in,v 1.2 1999/05/17 03:13:39 ssb Exp $
+ $Id: html.dsl.in,v 1.3 1999/05/28 23:19:01 jim Exp $
HTML-specific stylesheet customization.
@@ -16,6 +16,7 @@
<style-specification-body>
(define %html-ext% ".html")
+(define %output-dir% "html/")
&html-common.dsl;
&common.dsl;
Index: php3/doc/phpweb.dsl.in
diff -u php3/doc/phpweb.dsl.in:1.2 php3/doc/phpweb.dsl.in:1.3
--- php3/doc/phpweb.dsl.in:1.2 Sun May 16 23:13:39 1999
+++ php3/doc/phpweb.dsl.in Fri May 28 19:19:01 1999
@@ -6,7 +6,7 @@
<!--
- $Id: phpweb.dsl.in,v 1.2 1999/05/17 03:13:39 ssb Exp $
+ $Id: phpweb.dsl.in,v 1.3 1999/05/28 23:19:01 jim Exp $
HTML-specific stylesheet customization for use by the online manual.
@@ -20,6 +20,7 @@
(define %html-ext% ".php3")
(define %html-manifest% "PHPWEB.manifest")
+(define %output-dir% "php3/")
;; XXX hackish workaround. I'm not sure what side effects setting
;; the element number to 0 would have?
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net