# +----------------------------------------------------------------------+ # | PHP Version 5 | # +----------------------------------------------------------------------+ # | Copyright (c) 1997-2004 The PHP Group | # +----------------------------------------------------------------------+ # | This source file is subject to version 3.0 of the PHP license, | # | that is bundled with this package in the file LICENSE, and is | # | available through the world-wide-web at the following url: | # | http://www.php.net/license/3_0.txt. | # | If you did not receive a copy of the PHP license and are unable to | # | obtain it through the world-wide-web, please send a note to | # | license@php.net so we can mail you a copy immediately. | # +----------------------------------------------------------------------+ # # # $Id$ # all: html # {{{ variables PHP=@PHP@ LANG=@LANG@ NSGMLS=@NSGMLS@ JADE=@JADE@ -D . -wno-idref XMLLINT=@XMLLINT@ FOP=@FOP@ XMLDCL=./dtds/dbxml-4.1.2/phpdocxml.dcl CATALOG=@CATALOG@ HTML_STYLESHEET=dsssl/html.dsl PHPWEB_STYLESHEET=dsssl/php.dsl # }}} #default behaviour all:html FORCE: html: FORCE @test -d html || mkdir html $(JADE) $(CATALOG) -d $(HTML_STYLESHEET) -V use-output-dir -t sgml $(XMLDCL) manual.xml $(PHP) scripts/html_syntax.php html html/ web: FORCE @test -d phpweb || mkdir phpweb $(JADE) $(CATALOG) -d $(PHPWEB_STYLESHEET) -V use-output-dir -t sgml $(XMLDCL) manual.xml $(PHP) scripts/generate_web.php $(PHP) scripts/html_syntax.php php phpweb/ pdf: FORCE ${FOP} -xml manual.xml -xsl xsl/fo.xsl -pdf manual.pdf test: $(NSGMLS) -i lang-$(LANG) -s $(XMLDCL) manual.xml test_xml: $(XMLLINT) --noent --noout --valid manual.xml revcheck: FORCE $(PHP) -f scripts/revcheck.php $(LANG) > revcheck.html # {{{ cleanup clean: rm -f Makefile config.* manual.xml configure entities/version.ent *.fot dsssl/html-common.dsl manual.pdf rm -f revcheck.html file-entities.php entities/file-entities.ent scripts/file-entities.php manual.fo rm -fr autom4te.cache html phpweb # }}}