diff options
author | Lars Thorsen <[email protected]> | 2012-11-19 14:17:55 +0100 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2012-11-19 14:18:49 +0100 |
commit | c344975f28584e70240b82ae955ea1260276f89d (patch) | |
tree | 2fd6b430a820b77ae866282d09099af1cc9c4938 /make/otp.mk.in | |
parent | 41d6a59fb11c65da9edcf97551b19cbdbf00646f (diff) | |
parent | 1f31c8faccc8711e8080cb0a7cc8e9ca69ede227 (diff) | |
download | otp-c344975f28584e70240b82ae955ea1260276f89d.tar.gz otp-c344975f28584e70240b82ae955ea1260276f89d.tar.bz2 otp-c344975f28584e70240b82ae955ea1260276f89d.zip |
Merge branch 'lars/erl_docgen/configurable_doc_build/OTP-9040' into maint
* lars/erl_docgen/configurable_doc_build/OTP-9040:
[erl_docgen] Updated the vsn.mk
[erl_docgen] Add db_eix.xsl to the Makefile
[safs] Add pdfname to the html target for the users guide
[erl_docgen] Add possibility to specify pdf filename
Updated system/doc/Makefile with the new xsltproc options.
A possibility to configure erl_docgen so it can generate documentation for other products than Erlang/OTP.
OTP-9040
Diffstat (limited to 'make/otp.mk.in')
-rw-r--r-- | make/otp.mk.in | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/make/otp.mk.in b/make/otp.mk.in index 756cc85443..d74220588c 100644 --- a/make/otp.mk.in +++ b/make/otp.mk.in @@ -215,6 +215,22 @@ TEXDIR = . SPECDIR = $(DOCDIR)/specs +ifeq ($(CSS_FILE),) +CSS_FILE = otp_doc.css +endif +ifeq ($(WINPREFIX),) +WINPREFIX = Erlang +endif +ifeq ($(HTMLLOGO),) +HTMLLOGO_FILE = erlang-logo.png +endif +ifeq ($(PDFLOGO),) +PDFLOGO_FILE = $(DOCGEN)/priv/images/erlang-logo.gif +endif +ifeq ($(PDFCOLOR),) +PDFCOLOR = \#960003 +endif + # HTML & GIF files that always are generated and must be delivered SGML_COLL_FILES = $(SGML_APPLICATION_FILES) $(SGML_PART_FILES) XML_COLL_FILES = $(XML_APPLICATION_FILES) $(XML_PART_FILES) @@ -256,12 +272,10 @@ $(MAN1DIR)/%.1: %.xml date=`date +"%B %e %Y"`; \ xsltproc --output "$@" --stringparam company "Ericsson AB" --stringparam docgen "$(DOCGEN)" --stringparam gendate "$$date" --stringparam appname "$(APPLICATION)" --stringparam appver "$(VSN)" --xinclude -path $(DOCGEN)/priv/dtd -path $(DOCGEN)/priv/dtd_man_entities $(DOCGEN)/priv/xsl/db_man.xsl $< - $(MAN2DIR)/%.2: %.xml date=`date +"%B %e %Y"`; \ xsltproc --output "$@" --stringparam company "Ericsson AB" --stringparam docgen "$(DOCGEN)" --stringparam gendate "$$date" --stringparam appname "$(APPLICATION)" --stringparam appver "$(VSN)" --xinclude -path $(DOCGEN)/priv/dtd -path $(DOCGEN)/priv/dtd_man_entities $(DOCGEN)/priv/xsl/db_man.xsl $< - ifneq ($(wildcard $(SPECDIR)),) $(MAN3DIR)/%.3: %.xml $(SPECDIR)/specs_%.xml date=`date +"%B %e %Y"`; \ |