[AdgTable] Prefixed internal symbols
[adg.git] / Makefile.am
blob13f092093430a48c15ea7941b37e3506aa0c1c1c
1 include $(top_srcdir)/build/Makefile.am.common
3 xml2txt_stylesheet=             $(srcdir)/docs/gnu/docbook2txt.xsl
4 xml2txt_command=                $(MSG_GEN) ; \
5                                 if test -x $(XSLTPROC) ; then : ; else \
6                                   echo ' *WARN  libxslt-1.0.19 or later is required to generate $@' ; \
7                                   touch $@ ; \
8                                   exit 0 ; \
9                                 fi ; \
10                                 $(XSLTPROC) --novalid -o $@ $(xml2txt_stylesheet)
11 ACLOCAL_AMFLAGS=                -I build
12 DISTCHECK_CONFIGURE_FLAGS=      --enable-gtk2 \
13                                 --enable-gtk-doc \
14                                 --enable-glade \
15                                 --enable-test-framework
17 BUILT_SOURCES=                  ChangeLog \
18                                 README \
19                                 NEWS \
20                                 TODO \
21                                 CONTRIBUTING
23 EXTRA_DIST=                     COPYING \
24                                 ChangeLog-0.2.1 \
25                                 INSTALL \
26                                 THANKS \
27                                 adg.doap \
28                                 build/configure-mingw32 \
29                                 $(BUILT_SOURCES)
31 SUBDIRS=                        src
32 if HAVE_GTK2
33 SUBDIRS+=                       demo
34 endif
35 SUBDIRS+=                       po \
36                                 po-properties \
37                                 docs
40 # Creating ChangeLog files from git log:
41 # idea stolen from cairo/build/Makefile.am.changelog
42 ChangeLog:
43         $(MSG_GEN) ; \
44         if test -d "$(srcdir)/.git"; then \
45           ( cd "$(srcdir)" && git log --stat > $@ ) ; \
46         else \
47           echo ' *WARN  A git checkout is required to generate $@' ; \
48           touch $@ ; \
49         fi
51 # Autogenerated text docs
52 README: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/README.xml
53         $(xml2txt_command) $(srcdir)/docs/gnu/README.xml
55 NEWS: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/NEWS.xml
56         $(xml2txt_command) $(srcdir)/docs/gnu/NEWS.xml
58 TODO: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/TODO.xml
59         $(xml2txt_command) $(srcdir)/docs/gnu/TODO.xml
61 CONTRIBUTING: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/CONTRIBUTING.xml
62         $(xml2txt_command) $(srcdir)/docs/gnu/CONTRIBUTING.xml