cvs: phpdoc / Makefile.in configure.in

From: Date: Sat, 17 Nov 2007 12:42:42 +0000
Subject: cvs: phpdoc / Makefile.in configure.in
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-392@lists.php.net to get a copy of this message
bjori Sat Nov 17 12:42:42 2007 UTC Modified files: /phpdoc Makefile.in configure.in Log: Add phd build targets http://cvs.php.net/viewvc.cgi/phpdoc/Makefile.in?r1=1.201&r2=1.202&diff_format=u Index: phpdoc/Makefile.in diff -u phpdoc/Makefile.in:1.201 phpdoc/Makefile.in:1.202 --- phpdoc/Makefile.in:1.201 Tue Jul 31 12:53:29 2007 +++ phpdoc/Makefile.in Sat Nov 17 12:42:41 2007 @@ -16,7 +16,7 @@ # # -# $Id: Makefile.in,v 1.201 2007/07/31 12:53:29 bjori Exp $ +# $Id: Makefile.in,v 1.202 2007/11/17 12:42:41 bjori Exp $ # all: html @@ -37,12 +37,14 @@ PHP=@PHP@ XSLTPROC=@XSLTPROC@ XMLLINT=@XMLLINT@ +PHD=@PHD@ # Suppress "stripping namespace" messages DEBUG_SILENT=@XSL_PARAM_QUIET@ CATALOG=@CATALOG@ PARTIAL_STYLE=@PARTIAL_STYLE@ +PARTIAL_PHD_THEME=@PARTIAL_PHD_THEME@ MANUAL_STRIPPED=stripped.xml MANUAL_COMPLETE=.manual.xml @@ -257,6 +259,22 @@ $(PHP) -q $(scriptdir)/phpweb-entities.php pwd remove $(HACK_RTL_LANGS_PHPWEB) +# PhD Builds: +phd_all: $(MANUAL_COMPLETE) images_php images_html + @$(PHD) -vvvv -d$(MANUAL_COMPLETE) + +phd_phpweb: $(MANUAL_COMPLETE) images_php + @$(PHD) -vvvv -tphpweb -d$(MANUAL_COMPLETE) + +phd_bightml: $(MANUAL_COMPLETE) images + @$(PHD) -vvvv -tbightml -d$(MANUAL_COMPLETE) + +phd_html: $(MANUAL_COMPLETE) images_html + @$(PHD) -vvvv -tchunkedhtml -d$(MANUAL_COMPLETE) + +phd_partial/%: $(MANUAL_COMPLETE) + @$(PHD) -vvvv -t$(PARTIAL_PHD_THEME) -p$(@F) -d$(MANUAL_COMPLETE) + palmdoc: @MANUAL@.doc.pdb @MANUAL@.doc.pdb: @MANUAL@.txt scripts/makedoc scripts/makedoc -b @MANUAL@.txt @MANUAL@.doc.pdb @PALMDOCTITLE@ http://cvs.php.net/viewvc.cgi/phpdoc/configure.in?r1=1.246&r2=1.247&diff_format=u Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.246 phpdoc/configure.in:1.247 --- phpdoc/configure.in:1.246 Fri Sep 21 14:49:40 2007 +++ phpdoc/configure.in Sat Nov 17 12:42:42 2007 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.246 2007/09/21 14:49:40 bjori Exp $ +dnl $Id: configure.in,v 1.247 2007/11/17 12:42:42 bjori Exp $ dnl autoconf initialisation AC_INIT() @@ -85,6 +85,28 @@ dnl }}} dnl {{{ +AC_ARG_WITH(phd, +[ --with-phd=PATH Path to phd? (Default: "phd")], +[ + AC_MSG_CHECKING([for phd executable]) + if test $withval != "yes"; then + if ! test -x $withval; then + AC_MSG_ERROR($withval is not executable); + else + PHD=$withval + fi + else + PHD=phd + fi + AC_MSG_RESULT($PHD) +],[ + PHD=phd +]) +AC_SUBST(PHD) + +dnl }}} + +dnl {{{ AC_ARG_WITH(cygwin, [ --with-cygwin=no Running cygwin? (Default: no)], [ @@ -810,11 +832,13 @@ case $withval in html) PARTIAL_STYLESHEET="html.xsl"; - PARTIAL_STYLE="html" + PARTIAL_STYLE="html"; + PARTIAL_PHD_THEME="chunkedhtml"; ;; phpweb) PARTIAL_STYLESHEET="phpweb.xsl"; - PARTIAL_STYLE="php" + PARTIAL_STYLE="php"; + PARTIAL_PHD_THEME="phpweb"; ;; *) AC_MSG_RESULT([$withval]) @@ -824,12 +848,14 @@ AC_MSG_RESULT([$withval]) ],[ PARTIAL_STYLESHEET="html.xsl"; - PARTIAL_STYLE="html" + PARTIAL_STYLE="html"; + PARTIAL_PHD_THEME="chunkedhtml"; AC_MSG_RESULT([html (default)]) ]) AC_SUBST(PARTIAL_STYLESHEET) AC_SUBST(PARTIAL_STYLE) +AC_SUBST(PARTIAL_PHD_THEME) dnl }}}

« previous php.doc.cvs (#392) next »