Statistics
| Branch: | Tag: | Revision:

root / doc / Makefile.am @ 298fe380

History | View | Annotate | Download (394 Bytes)

1 1d91c392 Iustin Pop
docdir = $(datadir)/doc/$(PACKAGE)
2 1d91c392 Iustin Pop
3 04daec5d Michael Hanselmann
SUBDIRS = examples
4 8e587e52 Michael Hanselmann
dist_doc_DATA = \
5 8e587e52 Michael Hanselmann
  hooks.html hooks.pdf \
6 8e587e52 Michael Hanselmann
  install.html install.pdf \
7 8e587e52 Michael Hanselmann
  admin.html admin.pdf
8 b212bf8b Iustin Pop
EXTRA_DIST = hooks.sgml install.sgml admin.sgml
9 8e587e52 Michael Hanselmann
MAINTAINERCLEANFILES = *.html *.pdf
10 a8083063 Iustin Pop
11 e30c295e Michael Hanselmann
%.sgmltmp: %.sgml
12 e30c295e Michael Hanselmann
	sed -e 's#@GANETI_VERSION@#$(PACKAGE_VERSION)#g' < $< > $@
13 e30c295e Michael Hanselmann
14 e30c295e Michael Hanselmann
%.html: %.sgmltmp
15 a8083063 Iustin Pop
	docbook2html --nochunks $<
16 a8083063 Iustin Pop
17 e30c295e Michael Hanselmann
%.pdf: %.sgmltmp
18 a8083063 Iustin Pop
	docbook2pdf $<