Changed the names to match the PECL nomenclature
[phpCairo.git] / src / cairo / manual / Makefile
blobad24441356a6ce9499a0be5f43d683b4fbbae295
1 #
2 all: html
4 confcheck:
5 @if test "x$(PHPDOC)" = "x"; then echo PHPDOC not set; exit 3; fi
7 manual.xml: manual.xml.in
8 sed -e's:@PHPDOC@:$(PHPDOC):g' < manual.xml.in > manual.xml
10 html: confcheck manual.xml
11 rm -rf html; mkdir html
12 SP_ENCODING=XML SP_CHARSET_FIXED=YES openjade -D $(PHPDOC) -wno-idref -c $(PHPDOC)/docbook/docbook-dsssl/catalog -c $(PHPDOC)/phpbook/phpbook-dsssl/defaults/catalog -d $(PHPDOC)/phpbook/phpbook-dsssl/html.dsl -V use-output-dir -t sgml $(PHPDOC)/phpbook/phpbook-xml/phpdocxml.dcl manual.xml
14 bightml: confcheck manual.xml
15 rm -rf html; mkdir html
16 SP_ENCODING=XML SP_CHARSET_FIXED=YES openjade -D $(PHPDOC) -wno-idref -c $(PHPDOC)/docbook/docbook-dsssl/catalog -c $(PHPDOC)/phpbook/phpbook-dsssl/defaults/catalog -d $(PHPDOC)/phpbook/phpbook-dsssl/html.dsl -V nochunks -t sgml $(PHPDOC)/phpbook/phpbook-xml/phpdocxml.dcl manual.xml > manual.html
18 tex: manual.tex
20 manual.tex: confcheck manual.xml
21 SP_ENCODING=XML SP_CHARSET_FIXED=YES openjade -D $(PHPDOC) -wno-idref -c $(PHPDOC)/docbook/docbook-dsssl/catalog -c $(PHPDOC)/phpbook/phpbook-dsssl/defaults/catalog -d $(PHPDOC)/phpbook/phpbook-dsssl/print.dsl -t tex $(PHPDOC)/phpbook/phpbook-xml/phpdocxml.dcl manual.xml
23 pdf: manual.tex
24 pdfjadetex manual.tex && pdfjadetex manual.tex && pdfjadetex manual.tex