Revert "mkdb: convert gtkdoc-mkdb to python"
[gtk-doc.git] / Makefile.am
blobb9f3eb986b02c512afa272718ba9149bda5a4643
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/common.py \
42   gtkdoc/config.py \
43   gtkdoc/fixxref.py \
44   gtkdoc/mkhtml.py \
45   gtkdoc/mkman.py \
46   gtkdoc/mkpdf.py \
47   gtkdoc/rebase.py \
48   gtkdoc/scan.py \
49   gtkdoc/scangobj.py
51 pkgconfigdir = $(datadir)/pkgconfig
52 pkgconfig_DATA = gtk-doc.pc
54 aclocaldir = $(datadir)/aclocal
55 aclocal_DATA = gtk-doc.m4
57 gtk-doc.flat.make: gtk-doc.make
58         @$(SED) -e "s/EXTRA_DIST =/EXTRA_DIST +=/" $< >$@
60 EXTRA_DIST = \
61         MAINTAINERS     \
62         $(gtkdocdata_DATA) \
63         gtk-doc.pc.in   \
64         gtk-doc.m4      \
65         gtk-doc.doap \
66         gtk-doc-fo.xsl     \
67         doc/README            \
68         doc/authors.txt       \
69         doc/gnome.txt         \
70         doc/sections-file.txt \
71         doc/setting-up.txt    \
72         doc/style-guide.txt   \
73         examples/README       \
74         examples/Makefile.am  \
75         tools/docpercentages.pl \
76         tools/gtk-doc.el \
77         COPYING-DOCS
79 CLEANFILES = \
80   gtk-doc.flat.make \
81   gtkdoc-checkc \
82   gtkdoc-depscanc \
83   gtkdoc-mkhtmlc \
84   gtkdoc-mkmanc \
85   gtkdoc-mkpdfc \
86   gtkdoc-rebasec \
87   gtkdoc/__init__.pyc \
88   gtkdoc/check.pyc \
89   gtkdoc/common.pyc \
90   gtkdoc/config.pyc \
91   gtkdoc/fixxref.pyc \
92   gtkdoc/mkhtml.pyc \
93   gtkdoc/mkman.pyc \
94   gtkdoc/mkpdf.pyc \
95   gtkdoc/rebase.pyc \
96   gtkdoc/scan.pyc \
97   gtkdoc/scangobj.pyc
99 DISTCLEANFILES = \
100   gtkdoc-check \
101   gtkdoc-common.pl \
102   gtkdoc-depscan \
103   gtkdoc-fixxref \
104   gtkdocize \
105   gtkdoc-mkdb \
106   gtkdoc-mkhtml \
107   gtkdoc-mkman \
108   gtkdoc-mkpdf \
109   gtk-doc.pc \
110   gtkdoc-rebase \
111   gtkdoc-scangobj \
112   gtkdoc-scan \
113   gtkdoc/config.py
115 MAINTAINERCLEANFILES = \
116         $(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
117         $(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
118         $(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
119         INSTALL \
120         RELNOTES.txt \
121         ChangeLog-?.?? \
122         gtk-doc-*.tar.xz \
123         build-aux
125 -include $(top_srcdir)/git.mk
127 dist-hook:
128         @if test -d "$(srcdir)/.git"; \
129         then \
130                 echo Creating ChangeLog && \
131                 ( cd "$(top_srcdir)" && \
132                   echo '# Generated by Makefile. Do not edit.'; echo; \
133                   $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
134                 && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
135                 || ( rm -f ChangeLog.tmp ; \
136                   echo Failed to generate ChangeLog >&2 ); \
137         else \
138                 echo A git clone is required to generate a ChangeLog >&2; \
139         fi