diff options
author | Lars Thorsen <[email protected]> | 2011-01-26 13:59:43 +0100 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2012-11-16 12:04:36 +0100 |
commit | e0743cceb681604d134e6d026fee50479cfb009b (patch) | |
tree | a87748af6e5f8a09a35f86f18590e5e52946910f /make/otp.mk.in | |
parent | 7e7d5d522f1a46d7bdda3980f6e9c5649a35eca6 (diff) | |
download | otp-e0743cceb681604d134e6d026fee50479cfb009b.tar.gz otp-e0743cceb681604d134e6d026fee50479cfb009b.tar.bz2 otp-e0743cceb681604d134e6d026fee50479cfb009b.zip |
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 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"`; \ |