diff options
author | Lars Thorsen <[email protected]> | 2012-11-19 14:22:41 +0100 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2012-11-19 14:22:41 +0100 |
commit | 2cec24c37208c360123740f3af6b09aa33697f5f (patch) | |
tree | 0385c4f21e893cbeec7e9228f13aa6039cbb6521 /make/otp.mk.in | |
parent | 22e6663608240c3f7beb41fd4e76975f9c490017 (diff) | |
parent | c344975f28584e70240b82ae955ea1260276f89d (diff) | |
download | otp-2cec24c37208c360123740f3af6b09aa33697f5f.tar.gz otp-2cec24c37208c360123740f3af6b09aa33697f5f.tar.bz2 otp-2cec24c37208c360123740f3af6b09aa33697f5f.zip |
Merge branch 'maint'
* maint:
[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.
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 ed2fd8a70b..f2c2cee767 100644 --- a/make/otp.mk.in +++ b/make/otp.mk.in @@ -209,6 +209,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) @@ -250,12 +266,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"`; \ |