blob: 8144ba5463f5aaf11c4c366a622d644324a484a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
## Process this file with automake to create Makefile.in.
if HAVE_GTK_DOC
# The name of the module.
DOC_MODULE=pango
# The top-level SGML file.
DOC_MAIN_SGML_FILE=pango-docs.sgml
INCLUDE_DIR=../libpango
SOURCE_DIR=../libpango
scan:
gtkdoc-scan --module=$(DOC_MODULE) $(INCLUDE_DIR)/pango*.h
templates: scan
gtkdoc-mktmpl --module=$(DOC_MODULE)
sgml:
gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(SOURCE_DIR)
html:
if ! test -d html ; then mkdir html ; fi
-cd html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
cp layout.gif html
clean-local:
rm -f *~ *.bak *.hierarchy *.signals *.args *-unused.txt
maintainer-clean-local: clean
rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
.PHONY: scan sgml html templates
endif
EXTRA_DIST=pango-sections.txt pango-docs.sgml layout.fig layout.eps layout.fig
dist-hook:
mkdir $(distdir)/tmpl
cp -p $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
mkdir $(distdir)/TEXT
for i in $(srcdir)/TEXT/* ; do \
test -f $$i && cp -p $$i $(distdir)/TEXT ;\
done
|