[CPML] Initial test unit implementation
[adg.git] / Makefile.am
bloba56f2997fcf96a220132d9f3b3c3af49b13549fc
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-pango \
13                                 --enable-gtk2 \
14                                 --enable-gtk-doc \
15                                 --enable-glade \
16                                 --enable-test-framework
18 BUILT_SOURCES=                  ChangeLog \
19                                 README \
20                                 NEWS \
21                                 TODO \
22                                 CONTRIBUTING \
23                                 HACKING
25 EXTRA_DIST=                     COPYING \
26                                 ChangeLog-0.2.1 \
27                                 INSTALL \
28                                 THANKS \
29                                 adg.doap \
30                                 build/configure-mingw \
31                                 $(BUILT_SOURCES)
33 SUBDIRS=                        src
34 if HAVE_GTK2
35 SUBDIRS+=                       demo
36 endif
37 SUBDIRS+=                       po \
38                                 po-properties \
39                                 docs
42 # Creating ChangeLog files from git log:
43 # idea stolen from cairo/build/Makefile.am.changelog
44 ChangeLog:
45         $(MSG_GEN) ; \
46         if test -d "$(srcdir)/.git"; then \
47           ( cd "$(srcdir)" && git log --stat > $@ ) ; \
48         else \
49           echo ' *WARN  A git checkout is required to generate $@' ; \
50           touch $@ ; \
51         fi
53 # Autogenerated text docs
54 README: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/README.xml
55         $(xml2txt_command) $(srcdir)/docs/gnu/README.xml
57 NEWS: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/NEWS.xml
58         $(xml2txt_command) $(srcdir)/docs/gnu/NEWS.xml
60 TODO: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/TODO.xml
61         $(xml2txt_command) $(srcdir)/docs/gnu/TODO.xml
63 CONTRIBUTING: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/CONTRIBUTING.xml
64         $(xml2txt_command) $(srcdir)/docs/gnu/CONTRIBUTING.xml
66 HACKING: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/HACKING.xml
67         $(xml2txt_command) $(srcdir)/docs/gnu/HACKING.xml