tests: don't compile the sources in the integration test
[gtk-doc.git] / Makefile.am
blobe23ed415fac3612a829a5a360b63a5266a422dda
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-mkhtml2  \
13         gtkdoc-mkman    \
14         gtkdoc-mkpdf    \
15         gtkdoc-rebase   \
16         gtkdoc-scan     \
17         gtkdoc-scangobj \
18         gtkdocize
20 gtkdocdatadir = $(datadir)/gtk-doc/data
21 gtkdocdata_DATA = \
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/md_to_db.py \
45   gtkdoc/mkdb.py \
46   gtkdoc/mkhtml.py \
47   gtkdoc/mkhtml2.py \
48   gtkdoc/mkman.py \
49   gtkdoc/mkpdf.py \
50   gtkdoc/rebase.py \
51   gtkdoc/scan.py \
52   gtkdoc/scangobj.py
54 pkgconfigdir = $(datadir)/pkgconfig
55 pkgconfig_DATA = gtk-doc.pc
57 aclocaldir = $(datadir)/aclocal
58 aclocal_DATA = gtk-doc.m4
60 gtk-doc.flat.make: gtk-doc.make
61         @$(SED) -e "s/EXTRA_DIST =/EXTRA_DIST +=/" $< >$@
63 EXTRA_DIST = \
64         MAINTAINERS     \
65         $(gtkdocdata_DATA) \
66         $(pylibdata_DATA) \
67         gtk-doc.pc.in   \
68         gtk-doc.m4      \
69         gtk-doc.doap \
70         gtk-doc-fo.xsl     \
71         doc/README            \
72         doc/authors.txt       \
73         doc/gnome.txt         \
74         doc/sections-file.txt \
75         doc/setting-up.txt    \
76         doc/style-guide.txt   \
77         examples/README       \
78         examples/Makefile.am  \
79         tools/docpercentages.pl \
80         tools/gtk-doc.el \
81         COPYING-DOCS
83 CLEANFILES = \
84   gtk-doc.flat.make \
85   gtkdoc-checkc \
86   gtkdoc-depscanc \
87   gtkdoc-fixxrefc \
88   gtkdoc-mkdbc \
89   gtkdoc-mkhtmlc \
90   gtkdoc-mkhtml2c \
91   gtkdoc-mkmanc \
92   gtkdoc-mkpdfc \
93   gtkdoc-rebasec \
94   gtkdoc-scangobjc \
95   gtkdoc/__init__.pyc \
96   gtkdoc/check.pyc \
97   gtkdoc/common.pyc \
98   gtkdoc/config.pyc \
99   gtkdoc/fixxref.pyc \
100   gtkdoc/md_to_db.pyc \
101   gtkdoc/mkdb.pyc \
102   gtkdoc/mkhtml.pyc \
103   gtkdoc/mkhtml2.pyc \
104   gtkdoc/mkman.pyc \
105   gtkdoc/mkpdf.pyc \
106   gtkdoc/rebase.pyc \
107   gtkdoc/scan.pyc \
108   gtkdoc/scangobj.pyc
110 DISTCLEANFILES = \
111   gtkdoc-check \
112   gtkdoc-depscan \
113   gtkdoc-fixxref \
114   gtkdocize \
115   gtkdoc-mkdb \
116   gtkdoc-mkhtml \
117   gtkdoc-mkhtml2 \
118   gtkdoc-mkman \
119   gtkdoc-mkpdf \
120   gtk-doc.pc \
121   gtkdoc-rebase \
122   gtkdoc-scangobj \
123   gtkdoc-scan \
124   gtkdoc/config.py
126 MAINTAINERCLEANFILES = \
127         $(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
128         $(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
129         $(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
130         INSTALL \
131         RELNOTES.txt \
132         ChangeLog-?.?? \
133         gtk-doc-*.tar.xz \
134         build-aux \
135         __pycache__ gtkdoc/__pycache__ tests/__pycache__
137 -include $(top_srcdir)/git.mk
139 dist-hook:
140         @if test -d "$(srcdir)/.git"; \
141         then \
142                 echo Creating ChangeLog && \
143                 ( cd "$(top_srcdir)" && \
144                   echo '# Generated by Makefile. Do not edit.'; echo; \
145                   $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
146                 && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
147                 || ( rm -f ChangeLog.tmp ; \
148                   echo Failed to generate ChangeLog >&2 ); \
149         else \
150                 echo A git clone is required to generate a ChangeLog >&2; \
151         fi