scan: provide a way to skip unparsable code
[gtk-doc.git] / Makefile.am
blob99ee15d354ccea2f4920809ca26656d85b3f5928
1 ## Process this file with automake to produce Makefile.in
2 ACLOCAL_AMFLAGS=-I m4
4 SUBDIRS = 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-mktmpl   \
14         gtkdoc-rebase   \
15         gtkdoc-scan     \
16         gtkdoc-scangobj \
17         gtkdoc-scanobj  \
18         gtkdocize
20 if HAVE_PYTHON
21 bin_SCRIPTS += \
22         gtkdoc-depscan
23 endif
25 gtkdocdatadir = $(datadir)/gtk-doc/data
26 gtkdocdata_DATA = \
27         gtkdoc-common.pl        \
28         gtk-doc.dsl             \
29         gtk-doc.dcl             \
30         gtk-doc.xsl             \
31         version-greater-or-equal.xsl \
32         devhelp.xsl             \
33         devhelp2.xsl            \
34         gtk-doc.make            \
35         gtk-doc.notmpl.make     \
36         gtk-doc.flat.make       \
37         gtk-doc.notmpl-flat.make        \
38         home.png                        \
39         left.png                        \
40         right.png               \
41         up.png                  \
42         style.css
44 pkgconfigdir = $(datadir)/pkgconfig
45 pkgconfig_DATA = gtk-doc.pc
47 aclocaldir = $(datadir)/aclocal
48 aclocal_DATA = gtk-doc.m4
50 sgmldir = $(datadir)/sgml/gtk-doc
51 sgml_DATA = gtk-doc.cat
53 gtk-doc.flat.make: gtk-doc.make
54         @$(SED) -e "s/EXTRA_DIST =/EXTRA_DIST +=/" $< >$@
56 gtk-doc.notmpl-flat.make: gtk-doc.notmpl.make
57         @$(SED) -e "s/EXTRA_DIST =/EXTRA_DIST +=/" $< >$@
59 EXTRA_DIST = \
60         MAINTAINERS     \
61         gtk-doc.pc.in   \
62         gtk-doc.m4      \
63         gtk-doc.make    \
64         gtk-doc.notmpl.make \
65         gtk-doc.flat.make \
66         gtk-doc.notmpl-flat.make \
67         gtk-doc.doap \
68         gtk-doc.spec.in \
69         gtk-doc.spec    \
70         gtk-doc.dcl     \
71         gtk-doc.xsl     \
72         gtk-doc-fo.xsl     \
73         version-greater-or-equal.xsl \
74         devhelp.xsl     \
75         devhelp2.xsl     \
76         gtk-doc.cat.in  \
77         home.png  \
78         left.png  \
79         right.png \
80         up.png    \
81         doc/README            \
82         doc/authors.txt       \
83         doc/gnome.txt         \
84         doc/sections-file.txt \
85         doc/setting-up.txt    \
86         doc/style-guide.txt   \
87         db2man/README            \
88         db2man/docbook-to-man    \
89         db2man/docbook-to-man.ts \
90         examples/README       \
91         examples/Makefile.am  \
92         tools/docpercentages.pl \
93         tools/gtk-doc.el \
94         style.css \
95         COPYING-DOCS \
96         gnome-doc-utils.make
98 MAINTAINERCLEANFILES = \
99         $(srcdir)/INSTALL \
100         $(srcdir)/COPYING \
101         $(srcdir)/aclocal.m4 \
102         $(srcdir)/autoregen.sh \
103         $(srcdir)/compile \
104         $(srcdir)/config.guess \
105         $(srcdir)/config.h.in \
106         $(srcdir)/config.sub \
107         $(srcdir)/configure.scan \
108         $(srcdir)/depcomp \
109         $(srcdir)/install-sh \
110         $(srcdir)/ltmain.sh \
111         $(srcdir)/m4 \
112         $(srcdir)/missing \
113         $(srcdir)/mkinstalldirs \
114         $(srcdir)/gtk-doc-utils.make \
115         $(srcdir)/ChangeLog
117 GITIGNOREFILES = \
118         RELNOTES.txt \
119         ChangeLog-?.??
121 DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper
122 DISTCLEANFILES = gnome-doc-utils.make
123 -include $(top_srcdir)/git.mk
125 dist-hook:
126         @if test -d "$(srcdir)/.git"; \
127         then \
128                 echo Creating ChangeLog && \
129                 ( cd "$(top_srcdir)" && \
130                   echo '# Generated by Makefile. Do not edit.'; echo; \
131                   $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
132                 && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
133                 || ( rm -f ChangeLog.tmp ; \
134                   echo Failed to generate ChangeLog >&2 ); \
135         else \
136                 echo A git clone is required to generate a ChangeLog >&2; \
137         fi