hholzgra                Tue Jan  8 15:38:51 2002 EDT

  Modified files:              
    /phpdoc     Makefile.in 
  Log:
  $< is not portable in normal rules
  introducing folding hook comments
  
  
  
Index: phpdoc/Makefile.in
diff -u phpdoc/Makefile.in:1.95 phpdoc/Makefile.in:1.96
--- phpdoc/Makefile.in:1.95     Tue Jan  8 15:27:50 2002
+++ phpdoc/Makefile.in  Tue Jan  8 15:38:50 2002
@@ -17,12 +17,15 @@
 #
 
 #
-# $Id: Makefile.in,v 1.95 2002/01/08 20:27:50 hholzgra Exp $
+# $Id: Makefile.in,v 1.96 2002/01/08 20:38:50 hholzgra Exp $
 #
 
 all: html
 
+# {{{ variables
+
 VPATH=@srcdir@
+
 srcdir=@srcdir@
 scriptdir=@srcdir@/scripts
 PHP_SOURCE=@PHP_SOURCE@
@@ -52,8 +55,11 @@
 DIST_FILES=@[email protected] @[email protected] @[email protected] \
        @[email protected] @[email protected] @[email protected]
 MIRROR_TARGETS=php/index.php html/index.html $(DIST_FILES)
+
 PDF_FILES=@[email protected] @[email protected] @[email protected]
 
+# }}}
+
 @AUTOGENERATED_RULES@
 
 manual.xml: $(srcdir)/manual.xml.in .manual.xml
@@ -131,13 +137,15 @@
        $(JADE) $(CATALOG) -V nochunks -d $(HTML_STYLESHEET) -t sgml $(XMLDCL) 
manual.xml > $@
 
 @[email protected]: @[email protected]
-       gzip -9 -c $< > $@
+       gzip -9 -c @[email protected] > $@
 
 @[email protected]: @[email protected]
-       gzip -9 -c $< > $@
+       gzip -9 -c @[email protected] > $@
 
 @[email protected]: @[email protected]
-       gzip -9 -c $< > $@
+       gzip -9 -c @[email protected] > $@
+
+# {{{ TeX based formats including PostScript and PDF
 
 @[email protected]: manual.xml
        $(JADE) $(CATALOG) -d $(PRINT_STYLESHEET) -t tex $(XMLDCL) $<
@@ -147,13 +155,30 @@
        dvipdfm -o @[email protected] -p @PDF_PAPER_TYPE@ @[email protected]
 
 @[email protected]: @[email protected]
-       gzip -9 -c $< > $@
+       gzip -9 -c @[email protected] > $@
 
 @[email protected]: @[email protected]
-       bzip2 -9 -c $< > $@
+       bzip2 -9 -c @[email protected] > $@
 
 @[email protected]: @[email protected]
-       zip -9 $@ $<
+       zip -9 $@ @[email protected]
+
+# general TeX->dvi ru
+# runs three times -
+# 1. generates the dvi with a completely bogus table of contents
+# 2. generates the dvi with a table of contents that is off based on the size
+#    of the table of contents
+# 3. generates a dvi with all the right page numbers and such
+.tex.dvi:
+       # a hack around bugs in jade/jadetex...
+       mv $< $<.tmp
+       sed -e '/HeadingText/,/endHeadPar/ s/_/\\137/g' $<.tmp > $<
+       rm $<.tmp
+       -jadetex $<
+       -jadetex $<
+       -jadetex $<
+
+# }}}
 
 html/index.html: manual.xml $(HTML_DEPS)
        @test -d html || mkdir html
@@ -164,7 +189,7 @@
        -$(JADE) $(CATALOG) -d $(PHPWEB_STYLESHEET) -V use-output-dir -t sgml 
$(XMLDCL) manual.xml
 
 @[email protected]: @[email protected]
-       lynx -term=vt100 -nolist -dump file:`pwd`/$< > $@
+       lynx -term=vt100 -nolist -dump file:`pwd`/@[email protected] > $@
 
 @[email protected]: @[email protected] scripts/makedoc
        ./scripts/makedoc -b @[email protected] @[email protected] @PALMDOCTITLE@
@@ -193,7 +218,7 @@
        $(JADE) $(CATALOG) -V nochunks -d dsssl/install.dsl -t sgml $(XMLDCL) 
install.xml > $@
 
 install.txt: install.html
-       lynx -nolist -dump file:`pwd`/$< > $@
+       lynx -nolist -dump file:`pwd`/install.html > $@
 
 # File endings we are going to define general rules for:
 .SUFFIXES: .html .xml .sgml .tex .dvi .ps .rtf .pdf
@@ -202,19 +227,8 @@
 .xml.rtf:
        $(JADE) $(CATALOG) -d $(PRINT_STYLESHEET) -t rtf $(XMLDCL) $<
 
-# runs three times -
-# 1. generates the dvi with a completely bogus table of contents
-# 2. generates the dvi with a table of contents that is off based on the size
-#    of the table of contents
-# 3. generates a dvi with all the right page numbers and such
-.tex.dvi:
-       # a hack around bugs in jade/jadetex...
-       mv $< $<.tmp
-       sed -e '/HeadingText/,/endHeadPar/ s/_/\\137/g' $<.tmp > $<
-       rm $<.tmp
-       -jadetex $<
-       -jadetex $<
-       -jadetex $<
+
+# {{{ tests
 
 # test all possible errors
 test: manual.xml
@@ -224,6 +238,10 @@
 test_man_gen: manual.xml
        $(NSGMLS) -wno-idref -i lang-$(LANG) -s $(XMLDCL) manual.xml
 
+# }}}
+
+# {{{ cleanup 
+
 clean:
        rm -rf html php fancy figures howto/html
        rm -f @[email protected] [a-z]*.html @[email protected] manual.info
@@ -235,3 +253,5 @@
 
 distclean: clean
        for file in `find . -name "*.in"`; do rm `dirname $$file`/`basename $$file 
.in`; done
+
+# }}}
\ No newline at end of file


Reply via email to