mkhtml: split into wrapper and module
[gtk-doc.git] / Makefile.am
blob8ee64b9cd755b60758b0c8eef8350040452a4a49
1 ## Process this file with automake to produce Makefile.in
2 ACLOCAL_AMFLAGS=-I m4 ${ACLOCAL_FLAGS}
4 SUBDIRS = cmake help tests
6 bin_SCRIPTS = \
7         gtkdoc-check    \
8         gtkdoc-depscan  \
9         gtkdoc-fixxref  \
10         gtkdoc-mkdb     \
11         gtkdoc-mkhtml   \
12         gtkdoc-mkman    \
13         gtkdoc-mkpdf    \
14         gtkdoc-rebase   \
15         gtkdoc-scan     \
16         gtkdoc-scangobj \
17         gtkdocize
19 gtkdocdatadir = $(datadir)/gtk-doc/data
20 gtkdocdata_DATA = \
21         gtkdoc-common.pl        \
22         gtk-doc.xsl             \
23         version-greater-or-equal.xsl \
24         devhelp2.xsd            \
25         devhelp2.xsl            \
26         gtk-doc.make            \
27         gtk-doc.flat.make       \
28         style/home.png                  \
29         style/left.png                  \
30         style/left-insensitive.png              \
31         style/right.png         \
32         style/right-insensitive.png             \
33         style/up.png                    \
34         style/up-insensitive.png                \
35         style/style.css
37 pylibdatadir = $(datadir)/gtk-doc/python/gtkdoc
38 pylibdata_DATA = \
39   gtkdoc/__init__.py \
40   gtkdoc/check.py \
41   gtkdoc/config.py \
42   gtkdoc/mkhtml.py \
43   gtkdoc/mkman.py
45 pkgconfigdir = $(datadir)/pkgconfig
46 pkgconfig_DATA = gtk-doc.pc
48 aclocaldir = $(datadir)/aclocal
49 aclocal_DATA = gtk-doc.m4
51 gtk-doc.flat.make: gtk-doc.make
52         @$(SED) -e "s/EXTRA_DIST =/EXTRA_DIST +=/" $< >$@
54 EXTRA_DIST = \
55         MAINTAINERS     \
56         $(gtkdocdata_DATA) \
57         gtk-doc.pc.in   \
58         gtk-doc.m4      \
59         gtk-doc.doap \
60         gtk-doc-fo.xsl     \
61         doc/README            \
62         doc/authors.txt       \
63         doc/gnome.txt         \
64         doc/sections-file.txt \
65         doc/setting-up.txt    \
66         doc/style-guide.txt   \
67         examples/README       \
68         examples/Makefile.am  \
69         tools/docpercentages.pl \
70         tools/gtk-doc.el \
71         COPYING-DOCS
73 CLEANFILES = \
74   gtk-doc.flat.make \
75   gtkdoc-checkc \
76   gtkdoc-depscanc \
77   gtkdoc-mkhtmlc \
78   gtkdoc-mkmanc \
79   gtkdoc-mkpdfc \
80   gtkdoc-rebasec \
81   gtkdoc/__init__.pyc \
82   gtkdoc/check.pyc \
83   gtkdoc/config.pyc \
84   gtkdoc/mkhtml.pyc \
85   gtkdoc/mkman.pyc
87 DISTCLEANFILES = \
88   gtkdoc-check \
89   gtkdoc-common.pl \
90   gtkdoc-depscan \
91   gtkdoc-fixxref \
92   gtkdocize \
93   gtkdoc-mkdb \
94   gtkdoc-mkhtml \
95   gtkdoc-mkman \
96   gtkdoc-mkpdf \
97   gtk-doc.pc \
98   gtkdoc-rebase \
99   gtkdoc-scangobj \
100   gtkdoc-scan \
101   gtkdoc/config.py
103 MAINTAINERCLEANFILES = \
104         $(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
105         $(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
106         $(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
107         INSTALL \
108         RELNOTES.txt \
109         ChangeLog-?.?? \
110         gtk-doc-*.tar.xz \
111         build-aux
113 -include $(top_srcdir)/git.mk
115 dist-hook:
116         @if test -d "$(srcdir)/.git"; \
117         then \
118                 echo Creating ChangeLog && \
119                 ( cd "$(top_srcdir)" && \
120                   echo '# Generated by Makefile. Do not edit.'; echo; \
121                   $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
122                 && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
123                 || ( rm -f ChangeLog.tmp ; \
124                   echo Failed to generate ChangeLog >&2 ); \
125         else \
126                 echo A git clone is required to generate a ChangeLog >&2; \
127         fi