Updated Spanish translation
[gtk-doc.git] / Makefile.am
blob47c90083240bc609dd954ccc73e12cdd487d89f8
1 ## Process this file with automake to produce Makefile.in
2 ACLOCAL_AMFLAGS=-I m4 ${ACLOCAL_FLAGS}
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         gtkdocize
19 if HAVE_PYTHON
20 bin_SCRIPTS += \
21         gtkdoc-depscan
22 endif
24 gtkdocdatadir = $(datadir)/gtk-doc/data
25 gtkdocdata_DATA = \
26         gtkdoc-common.pl        \
27         gtk-doc.dsl             \
28         gtk-doc.dcl             \
29         gtk-doc.xsl             \
30         version-greater-or-equal.xsl \
31         devhelp2.xsd            \
32         devhelp2.xsl            \
33         gtk-doc.make            \
34         gtk-doc.notmpl.make     \
35         gtk-doc.flat.make       \
36         gtk-doc.notmpl-flat.make        \
37         style/home.png                  \
38         style/left.png                  \
39         style/left-insensitive.png              \
40         style/right.png         \
41         style/right-insensitive.png             \
42         style/up.png                    \
43         style/up-insensitive.png                \
44         style/style.css
46 pkgconfigdir = $(datadir)/pkgconfig
47 pkgconfig_DATA = gtk-doc.pc
49 aclocaldir = $(datadir)/aclocal
50 aclocal_DATA = gtk-doc.m4
52 sgmldir = $(datadir)/sgml/gtk-doc
53 sgml_DATA = gtk-doc.cat
55 gtk-doc.flat.make: gtk-doc.make
56         @$(SED) -e "s/EXTRA_DIST =/EXTRA_DIST +=/" $< >$@
58 gtk-doc.notmpl-flat.make: gtk-doc.notmpl.make
59         @$(SED) -e "s/EXTRA_DIST =/EXTRA_DIST +=/" $< >$@
61 EXTRA_DIST = \
62         MAINTAINERS     \
63         $(gtkdocdata_DATA) \
64         gtk-doc.pc.in   \
65         gtk-doc.m4      \
66         gtk-doc.doap \
67         gtk-doc.spec.in \
68         gtk-doc.spec    \
69         gtk-doc-fo.xsl     \
70         gtk-doc.cat.in  \
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         db2man/README            \
78         db2man/docbook-to-man    \
79         db2man/docbook-to-man.ts \
80         examples/README       \
81         examples/Makefile.am  \
82         tools/docpercentages.pl \
83         tools/gtk-doc.el \
84         COPYING-DOCS
86 CLEANFILES = \
87   gtk-doc.flat.make \
88   gtk-doc.notmpl-flat.make \
89   gtkdoc-depscanc
90   
91 DISTCLEANFILES = \
92   gtk-doc.cat \
93   gtkdoc-check \
94   gtkdoc-common.pl \
95   gtkdoc-depscan \
96   gtk-doc.dsl \
97   gtkdoc-fixxref \
98   gtkdocize \
99   gtkdoc-mkdb \
100   gtkdoc-mkhtml \
101   gtkdoc-mkman \
102   gtkdoc-mkpdf \
103   gtkdoc-mktmpl \
104   gtk-doc.pc \
105   gtkdoc-rebase \
106   gtkdoc-scangobj \
107   gtkdoc-scan \
108   gtk-doc.spec
111 MAINTAINERCLEANFILES = \
112         $(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
113         $(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
114         $(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
115         INSTALL \
116         RELNOTES.txt \
117         ChangeLog-?.?? \
118         gtk-doc-*.tar.xz \
119         build-aux
121 -include $(top_srcdir)/git.mk
123 dist-hook:
124         @if test -d "$(srcdir)/.git"; \
125         then \
126                 echo Creating ChangeLog && \
127                 ( cd "$(top_srcdir)" && \
128                   echo '# Generated by Makefile. Do not edit.'; echo; \
129                   $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
130                 && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
131                 || ( rm -f ChangeLog.tmp ; \
132                   echo Failed to generate ChangeLog >&2 ); \
133         else \
134                 echo A git clone is required to generate a ChangeLog >&2; \
135         fi