74426e6820
This also removes building a separate source tarball or building a PDF manual since it's unlikely anybody cares.
34 lines
937 B
Makefile
34 lines
937 B
Makefile
DOCBOOK_FILES = installation.xml introduction.xml manual.xml projects.xml hacking.xml
|
|
|
|
EXTRA_DIST = $(DOCBOOK_FILES)
|
|
|
|
xsltproc_opts = \
|
|
--param html.stylesheet \'style.css\' \
|
|
--param callout.graphics.extension \'.gif\' \
|
|
--param section.autolabel 1 \
|
|
--param section.label.includes.component.label 1
|
|
|
|
|
|
# Include the manual in the tarball.
|
|
dist_html_DATA = manual.html style.css
|
|
|
|
# Embed Docbook's callout images in the distribution.
|
|
EXTRA_DIST += images
|
|
|
|
manual.html: $(DOCBOOK_FILES)
|
|
$(XSLTPROC) $(xsltproc_opts) --nonet --xinclude \
|
|
--output manual.html \
|
|
$(docbookxsl)/xhtml/docbook.xsl manual.xml
|
|
|
|
images:
|
|
$(MKDIR_P) images/callouts
|
|
cp $(docbookxsl)/images/callouts/*.gif images/callouts
|
|
chmod +wx images images/callouts
|
|
|
|
install-data-hook: images
|
|
$(INSTALL) -d $(DESTDIR)$(htmldir)/images/callouts
|
|
$(INSTALL_DATA) images/callouts/* $(DESTDIR)$(htmldir)/images/callouts
|
|
|
|
distclean-hook:
|
|
-rm -rf images
|