migratetmpl: also remove the migration tool
[gtk-doc.git] / Makefile.am
blob03641be8e30ab16d6187463f25925dfc3a0effda
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-fixxref  \
9         gtkdoc-mkdb     \
10         gtkdoc-mkhtml   \
11         gtkdoc-mkman    \
12         gtkdoc-mkpdf    \
13         gtkdoc-rebase   \
14         gtkdoc-scan     \
15         gtkdoc-scangobj \
16         gtkdocize
18 if HAVE_PYTHON
19 bin_SCRIPTS += \
20         gtkdoc-depscan
21 endif
23 gtkdocdatadir = $(datadir)/gtk-doc/data
24 gtkdocdata_DATA = \
25         gtkdoc-common.pl        \
26         gtk-doc.dsl             \
27         gtk-doc.dcl             \
28         gtk-doc.xsl             \
29         version-greater-or-equal.xsl \
30         devhelp2.xsd            \
31         devhelp2.xsl            \
32         gtk-doc.make            \
33         gtk-doc.flat.make       \
34         style/home.png                  \
35         style/left.png                  \
36         style/left-insensitive.png              \
37         style/right.png         \
38         style/right-insensitive.png             \
39         style/up.png                    \
40         style/up-insensitive.png                \
41         style/style.css
43 pkgconfigdir = $(datadir)/pkgconfig
44 pkgconfig_DATA = gtk-doc.pc
46 aclocaldir = $(datadir)/aclocal
47 aclocal_DATA = gtk-doc.m4
49 sgmldir = $(datadir)/sgml/gtk-doc
50 sgml_DATA = gtk-doc.cat
52 gtk-doc.flat.make: gtk-doc.make
53         @$(SED) -e "s/EXTRA_DIST =/EXTRA_DIST +=/" $< >$@
55 EXTRA_DIST = \
56         MAINTAINERS     \
57         $(gtkdocdata_DATA) \
58         gtk-doc.pc.in   \
59         gtk-doc.m4      \
60         gtk-doc.doap \
61         gtk-doc.spec.in \
62         gtk-doc.spec    \
63         gtk-doc-fo.xsl     \
64         gtk-doc.cat.in  \
65         doc/README            \
66         doc/authors.txt       \
67         doc/gnome.txt         \
68         doc/sections-file.txt \
69         doc/setting-up.txt    \
70         doc/style-guide.txt   \
71         db2man/README            \
72         db2man/docbook-to-man    \
73         db2man/docbook-to-man.ts \
74         examples/README       \
75         examples/Makefile.am  \
76         tools/docpercentages.pl \
77         tools/gtk-doc.el \
78         COPYING-DOCS
80 CLEANFILES = \
81   gtk-doc.flat.make \
82   gtkdoc-depscanc
84 DISTCLEANFILES = \
85   gtk-doc.cat \
86   gtkdoc-check \
87   gtkdoc-common.pl \
88   gtkdoc-depscan \
89   gtk-doc.dsl \
90   gtkdoc-fixxref \
91   gtkdocize \
92   gtkdoc-mkdb \
93   gtkdoc-mkhtml \
94   gtkdoc-mkman \
95   gtkdoc-mkpdf \
96   gtk-doc.pc \
97   gtkdoc-rebase \
98   gtkdoc-scangobj \
99   gtkdoc-scan \
100   gtk-doc.spec
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