]> git.wh0rd.org - fontconfig.git/blame - doc/Makefile.am
Switch to docbook and split documentation into pieces
[fontconfig.git] / doc / Makefile.am
CommitLineData
0da305f7
KP
1DOC_MODULE=fontconfig
2DOC2HTML=docbook2html -u
3DOC2TXT=docbook2txt
4
5TXT=fontconfig-user.txt fontconfig-devel.txt
6HTML=fontconfig-user.html fontconfig-devel.html
7SGML=fontconfig-user.sgml fontconfig-devel.sgml
8
9DOCDIR=@DOCDIR@
10TARGET_DIR=$(DOCDIR)
11
12SUFFIXES=.sgml .txt .html
13
14.sgml.html:
15 $(RM) $@
16 $(DOC2HTML) $*.sgml
17 $(RM) index.html
18
19.sgml.txt:
20 $(RM) $@
21 $(DOC2TXT) $*.sgml
22
23EXTRA_DIST = $(TXT) $(HTML) $(SGML)
24
25all-local: $(TXT) $(HTML)
26
27clean-local:
28 rm -f $(TXT) $(HTML)
29
30install-data-local:
31 $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)
32 for i in $(TXT) $(HTML); do \
33 echo '-- Installing'$$i ; \
34 $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR)/$$i; \
35 done