[ADG] Avoid to forcibly set the CTM on the cr
[adg.git] / Makefile.am
blob8bae56a0d5014b9966cb360524416f20ae8bc6db
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 \
22                                 HACKING
24 EXTRA_DIST=                     COPYING \
25                                 ChangeLog-0.2.1 \
26                                 INSTALL \
27                                 THANKS \
28                                 adg.doap \
29                                 build/configure-mingw32 \
30                                 $(BUILT_SOURCES)
32 SUBDIRS=                        src
33 if HAVE_GTK2
34 SUBDIRS+=                       demo
35 endif
36 SUBDIRS+=                       po \
37                                 po-properties \
38                                 docs
41 # Creating ChangeLog files from git log:
42 # idea stolen from cairo/build/Makefile.am.changelog
43 ChangeLog:
44         $(MSG_GEN) ; \
45         if test -d "$(srcdir)/.git"; then \
46           ( cd "$(srcdir)" && git log --stat > $@ ) ; \
47         else \
48           echo ' *WARN  A git checkout is required to generate $@' ; \
49           touch $@ ; \
50         fi
52 # Autogenerated text docs
53 README: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/README.xml
54         $(xml2txt_command) $(srcdir)/docs/gnu/README.xml
56 NEWS: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/NEWS.xml
57         $(xml2txt_command) $(srcdir)/docs/gnu/NEWS.xml
59 TODO: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/TODO.xml
60         $(xml2txt_command) $(srcdir)/docs/gnu/TODO.xml
62 CONTRIBUTING: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/CONTRIBUTING.xml
63         $(xml2txt_command) $(srcdir)/docs/gnu/CONTRIBUTING.xml
65 HACKING: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/HACKING.xml
66         $(xml2txt_command) $(srcdir)/docs/gnu/HACKING.xml