[build] Ensure "const" is a valid keyword
[adg.git] / Makefile.am
blobe0b8299cda1909120366c92de8c39f7372687dae
1 include $(top_srcdir)/build/Makefile.am.common
3 xslt_to_doc=                    @if test -x $(XSLTPROC); then \
4                                   $(MSG_GEN)$(XSLTPROC) -o $@ $^; \
5                                 else \
6                                   echo ' *WARN  libxslt-1.0.19 or later is required in order to generate '$@; \
7                                 fi
8 ACLOCAL_AMFLAGS=                -I build
9 DISTCHECK_CONFIGURE_FLAGS=      --enable-gtk-doc
11 BUILT_SOURCES=                  ChangeLog \
12                                 README \
13                                 NEWS \
14                                 TODO \
15                                 CONTRIBUTING
17 EXTRA_DIST+=                    COPYING \
18                                 ChangeLog-0.2.1 \
19                                 INSTALL \
20                                 THANKS \
21                                 adg.doap \
22                                 $(BUILT_SOURCES)
24 SUBDIRS=                        cpml \
25                                 adg \
26                                 demo \
27                                 docs \
28                                 po \
29                                 po-properties \
30                                 tests
33 # Creating ChangeLog files from git log:
34 # idea stolen from cairo/build/Makefile.am.changelog
35 ChangeLog:
36         @if test -d "$(srcdir)/.git"; then \
37           $(MSG_GEN)(cd "$(srcdir)" && git log --stat > $@); \
38         else \
39           echo A git checkout is required to generate $@ >&2; \
40         fi
42 # Autogenerated text docs
43 README: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/README.xml
44         $(xslt_to_doc)
46 NEWS: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/NEWS.xml
47         $(xslt_to_doc)
49 TODO: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/TODO.xml
50         $(xslt_to_doc)
52 CONTRIBUTING: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/CONTRIBUTING.xml
53         $(xslt_to_doc)