mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
Couple of small updates for CHM build
(This used to be commit b6e68ddbd367cfc48d6e4a70446109a210019f1f)
This commit is contained in:
parent
cce465adf3
commit
1dfd737ad5
@ -40,7 +40,7 @@ EPSTOPDF = @EPSTOPDF@
|
||||
MANPAGEDIR = manpages
|
||||
HOWTODIR = howto
|
||||
GUIDEDOC = guide
|
||||
DEVDOCDIR = /devel
|
||||
DEVDOCDIR = devel
|
||||
MAKEINDEX = @MAKEINDEX@
|
||||
IMAGEPROJDIR = $(HOWTODIR)/imagefiles
|
||||
IMAGEGUIDEDIR = $(GUIDEDOC)/images
|
||||
@ -114,6 +114,8 @@ html-single: $(HTMLDIR) $(HTMLDIR)/samba.css $(HTMLDIR)/Samba-HOWTO-Collection.h
|
||||
|
||||
html: $(HTMLDIR)/howto $(HTMLDIR)/guide $(HTMLDIR)/devel $(HTMLDIR)/index.html
|
||||
|
||||
htmlhelp: $(HTMLHELPDIR)/Samba-HOWTO-Collection $(HTMLHELPDIR)/Samba-Developers-Guide $(HTMLHELPDIR)/Samba-Guide
|
||||
|
||||
$(HTMLDIR)/index.html: htmldocs.html $(HTMLDIR)
|
||||
cp $< $@
|
||||
|
||||
@ -221,12 +223,24 @@ $(FODIR):
|
||||
$(FODIR)/%.fo: %.xml $(FODIR)
|
||||
$(XSLTPROC) --output $@ http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl $<
|
||||
|
||||
# HTML Help
|
||||
|
||||
$(HTMLHELPDIR):
|
||||
mkdir $(HTMLHELPDIR)
|
||||
|
||||
$(HTMLHELPDIR)/%: %.xml $(HTMLHELPDIR)
|
||||
$(HTMLHELPDIR)/Samba-HOWTO-Collection/images:
|
||||
-mkdir -p $@
|
||||
cp -p $(HOWTODIR_IMAGES_PNG) $@
|
||||
|
||||
$(HTMLHELPDIR)/Samba-Guide/images:
|
||||
-mkdir -p $@
|
||||
cp -p $(GUIDEDOC_IMAGES_PNG) $@
|
||||
|
||||
$(HTMLHELPDIR)/Samba-Developers-Guide/images:
|
||||
|
||||
$(HTMLHELPDIR)/%: %.xml $(HTMLHELPDIR) $(HTMLHELPDIR)/%/images
|
||||
-mkdir $@
|
||||
$(XSLTPROC) --stringparam base.dir "$@/" http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl $<
|
||||
$(XSLTPROC) --stringparam htmlhelp.chm $(patsubst %.xml,%.chm,$<) --stringparam manifest.in.base.dir "$@/" --stringparam base.dir "$@/" http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl $<
|
||||
|
||||
# Single large HTML files
|
||||
|
||||
|
@ -97,3 +97,7 @@ Add the following two lines to /etc/xml/catalog for db2latex:
|
||||
|
||||
catalog entries for the other DTD's and XSL scripts should be present on your
|
||||
system already.
|
||||
|
||||
Windows Help files
|
||||
----------
|
||||
http://htmlhelp.berlios.de/howto/mshh4wine.php
|
||||
|
@ -60,6 +60,7 @@ DOCS_DEFINE_TARGET(LATEX, ALL, [LaTeX versions], [tex])
|
||||
DOCS_DEFINE_TARGET(PDF, LATEX, [PDF versions], [pdf])
|
||||
DOCS_DEFINE_TARGET(PS, LATEX, [PostScript versions], [ps])
|
||||
DOCS_DEFINE_TARGET(HTML, ALL, [HTML versions], [html])
|
||||
DOCS_DEFINE_TARGET(HTMLHELP, ALL, [HTML Help versions], [htmlhelp])
|
||||
DOCS_DEFINE_TARGET(HTMLMAN, ALL, [HTML versions of the manpages], [htmlman])
|
||||
DOCS_DEFINE_TARGET(MANPAGES, ALL, [manpages], [manpages])
|
||||
DOCS_DEFINE_TARGET(PLUCKER, HTML, [plucker versions], [plucker])
|
||||
|
Loading…
x
Reference in New Issue
Block a user