jimw            Sun Sep 30 17:57:27 2001 EDT

  Modified files:              
    /phpdoc     Makefile.in .cvsignore 
  Log:
  switch to new naming scheme, update list of distfiles to include isilo and pdf 
versions
  
Index: phpdoc/Makefile.in
diff -u phpdoc/Makefile.in:1.71 phpdoc/Makefile.in:1.72
--- phpdoc/Makefile.in:1.71     Sun Sep 23 11:04:38 2001
+++ phpdoc/Makefile.in  Sun Sep 30 17:57:27 2001
@@ -17,7 +17,7 @@
 #
 
 #
-# $Id: Makefile.in,v 1.71 2001/09/23 15:04:38 goba Exp $
+# $Id: Makefile.in,v 1.72 2001/09/30 21:57:27 jimw Exp $
 #
 
 VPATH=@srcdir@
@@ -48,8 +48,9 @@
 
 all: html
 
-DIST_FILES=manual.zip manual.tar.gz bigmanual.html.gz \
-       manual_doc.pdb manual.txt.gz manual.tar.bz2
+DIST_FILES=@[email protected] @[email protected] @[email protected] \
+       @[email protected] @[email protected] @[email protected] \
+       @[email protected] @[email protected] @[email protected]
 MIRROR_TARGETS=php/index.php html/index.html $(DIST_FILES)
 
 html.dsl: $(srcdir)/html.dsl.in ./config.status
@@ -71,11 +72,12 @@
        touch .manual.xml
 
 html: html/index.html
-bightml: bigmanual.html
+bightml: @[email protected]
 phpweb: php/index.php
-rtf: manual.rtf
-dvi: manual.dvi
-ps: manual.ps
+rtf: @[email protected]
+tex latex: @[email protected]
+dvi: @[email protected]
+ps: @[email protected]
 pdf: @[email protected]
 howto: howto/html/index.html
 howtotgz: howto/howto.html.tar.gz
@@ -98,8 +100,8 @@
 
 snapshot: manual-snapshot.tar.gz
 
-manual-snapshot.tar.gz: bigmanual.html html/index.html manual.rtf manual.txt
-       tar -cvzf $@ bigmanual.html html/*.html manual.rtf manual.txt
+manual-snapshot.tar.gz: @[email protected] html/index.html @[email protected] @[email protected]
+       tar -cvzf $@ @[email protected] html/*.html @[email protected] @[email protected]
 
 status: checkdoc ./funclist.txt
        ./checkdoc -s > status.txt
@@ -119,28 +121,33 @@
 makedoc: $(srcdir)/makedoc.cc
        g++ -o makedoc $(srcdir)/makedoc.cc
 
-bigmanual.html: manual.xml $(HTML_DEPS)
+@[email protected]: manual.xml $(HTML_DEPS)
        $(JADE) $(CATALOG) -V nochunks -d $(HTML_STYLESHEET) -t sgml 
$(srcdir)/phpdocxml.dcl manual.xml > $@
 
-bigmanual.html.gz: bigmanual.html
+@[email protected]: @[email protected]
        gzip -9 -c $< > $@
 
-manual.rtf.gz: manual.rtf
+@[email protected]: @[email protected]
        gzip -9 -c $< > $@
 
-manual.txt.gz: manual.txt
+@[email protected]: @[email protected]
        gzip -9 -c $< > $@
 
-@[email protected]: manual.tex
-       # a hack around bugs in jade/jadetex...
-       mv manual.tex manual.tex.tmp
-       sed -e '/HeadingText/,/endHeadPar/ s/_/\\137/g' manual.tex.tmp > manual.tex
-       rm manual.tex.tmp
+@[email protected]: manual.xml
+       $(JADE) $(CATALOG) -d $(PRINT_STYLESHEET) -t tex $(srcdir)/phpdocxml.dcl $<
+       mv manual.tex $@
 
-       -jadetex $<
-       -jadetex $<
-       -jadetex $<
-       dvipdfm -o @[email protected] -p @PDF_PAPER_TYPE@ manual.dvi
+@[email protected]: @[email protected]
+       dvipdfm -o @[email protected] -p @PDF_PAPER_TYPE@ @[email protected]
+
+@[email protected]: @[email protected]
+       gzip -9 -c $< > $@
+
+@[email protected]: @[email protected]
+       bzip2 -9 -c $< > $@
+
+@[email protected]: @[email protected]
+       zip -9 $@ $<
 
 html/index.html: manual.xml $(HTML_DEPS)
        @test -d html || mkdir html
@@ -150,24 +157,24 @@
        @test -d php || mkdir php
        -$(JADE) $(CATALOG) -d $(PHPWEB_STYLESHEET) -V use-output-dir -t sgml 
$(srcdir)/phpdocxml.dcl manual.xml
 
-manual.txt: bigmanual.html
-       lynx -nolist -dump file:`pwd`/bigmanual.html > manual.txt
+@[email protected]: @[email protected]
+       lynx -nolist -dump file:`pwd`/$< > $@
 
-manual_doc.pdb: manual.txt makedoc
-       ./makedoc -b manual.txt manual_doc.pdb $(PALMDOCTITLE)
+@[email protected]: @[email protected] makedoc
+       ./makedoc -b @[email protected] @[email protected] $(PALMDOCTITLE)
 
 # Note: Isilo converter available only in binary from www.isilo.com
-manual_isilo.pdb: bigmanual.html
-       iSilo386 bigmanual.html manual_isilo.pdb
+@[email protected]: @[email protected]
+       iSilo386 @[email protected] @[email protected]
 
-manual.zip: html/index.html
+@[email protected]: html/index.html
        -rm -f $@ && (cd html; zip -9 -q ../$@ *.html)
 
-manual.tar.gz: html/index.html
-       -rm -f $@ && (cd html; tar -cf - *.html) | gzip -9 > manual.tar.gz
+@[email protected]: html/index.html
+       -rm -f $@ && (cd html; tar -cf - *.html) | gzip -9 > $@
 
-manual.tar.bz2: html/index.html
-       -rm -f $@ && (cd html; tar -cf - *.html) | bzip2 -9 > manual.tar.bz2
+@[email protected]: html/index.html
+       -rm -f $@ && (cd html; tar -cf - *.html) | bzip2 -9 > $@
 
 howto/html/index.html: howto/howto.xml $(HOWTO_DEPS)
        @test -d howto/html || mkdir howto/html
@@ -176,15 +183,10 @@
 howto/howto.html.tar.gz: howto/html/index.html $(HOWTO_DEPS)
        tar -cvzf $@ howto/html/*.html  
   
-tex latex: $(srcdir)/manual.tex
-
 # File endings we are going to define general rules for:
 .SUFFIXES: .html .xml .sgml .tex .dvi .ps .rtf .pdf
 
 # General rules:
-.xml.tex:
-       $(JADE) $(CATALOG) -d $(PRINT_STYLESHEET) -t tex $(srcdir)/phpdocxml.dcl $<
-
 .xml.rtf:
        $(JADE) $(CATALOG) -d $(PRINT_STYLESHEET) -t rtf $(srcdir)/phpdocxml.dcl $<
 
@@ -194,15 +196,13 @@
 #    of the table of contents
 # 3. generates a dvi with all the right page numbers and such
 .tex.dvi:
-       jadetex $<
-       jadetex $<
-       jadetex $<
-
-.dvi.ps:
-       dvips -o $@ $<
-
-.ps.pdf:
-       ps2pdf -p $@ $<
+       # a hack around bugs in jade/jadetex...
+       mv $< $<.tmp
+       sed -e '/HeadingText/,/endHeadPar/ s/_/\\137/g' $<.tmp > $<
+       rm $<.tmp
+       -jadetex $<
+       -jadetex $<
+       -jadetex $<
 
 # test all possible errors
 test: manual.xml
@@ -214,8 +214,8 @@
 
 clean:
        rm -rf html php howto/html
-       rm -f manual.txt [a-z]*.html manual.rtf manual.info
-       rm -f manual.zip manual.tar.gz .manual.xml
+       rm -f @[email protected] [a-z]*.html @[email protected] manual.info
+       rm -f @[email protected] @[email protected] .manual.xml
        rm -f manual_*.pdb makedoc *.manifest
        rm -f *.aux *.tex *.log *.dvi *.toc *.ps *.gz
        rm -f status.txt missing.txt checkdoc
Index: phpdoc/.cvsignore
diff -u phpdoc/.cvsignore:1.20 phpdoc/.cvsignore:1.21
--- phpdoc/.cvsignore:1.20      Mon Sep  3 12:29:12 2001
+++ phpdoc/.cvsignore   Sun Sep 30 17:57:27 2001
@@ -3,6 +3,7 @@
 *.ced
 *.dvi
 *.fot
+*.bz2
 *.gz
 *.log
 *.pdf
@@ -36,7 +37,7 @@
 html.xsl
 htmlhelp.xsl
 makedoc
-php_manual_*.hh*
+php_manual_*
 manual.txt
 manual.xml
 missing.txt


Reply via email to