[AdgPath] Removed fillet and chamfer bugs
[adg.git] / Makefile.am
blobd3ea14142df8d51ffdf2acd67f59ceaa152779dd
1 include $(top_srcdir)/build/Makefile.am.common
3 xml2txt_stylesheet=             $(srcdir)/docs/gnu/docbook2txt.xsl
4 xml2txt_command=                $(AM_V_GEN)if test -x $(XSLTPROC) ; then : ; else \
5                                   echo ' *WARN  libxslt-1.0.19 or later is required to generate $@' ; \
6                                   touch $@ ; \
7                                   exit 0 ; \
8                                 fi ; \
9                                 $(XSLTPROC) --novalid -o $@ $(xml2txt_stylesheet)
10 ACLOCAL_AMFLAGS=                -I build
11 DISTCHECK_CONFIGURE_FLAGS=      --enable-pango \
12                                 --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-mingw \
30                                 $(BUILT_SOURCES)
31 CLEANFILES=                     test-report.xml \
32                                 test-report.html \
33                                 perf-report.xml \
34                                 perf-report.html \
35                                 full-report.xml \
36                                 full-report.html
38 SUBDIRS=                        src
39 if HAVE_GTK2
40 SUBDIRS+=                       demo
41 endif
42 SUBDIRS+=                       po \
43                                 po-properties \
44                                 docs
47 # Creating ChangeLog files from git log:
48 # idea stolen from cairo/build/Makefile.am.changelog
49 ChangeLog:
50         $(AM_V_GEN)if test -d "$(srcdir)/.git"; then \
51           ( cd "$(srcdir)" && git log --stat > $@ ) ; \
52         else \
53           echo ' *WARN  A git checkout is required to generate $@' ; \
54           touch $@ ; \
55         fi
57 # Autogenerated text docs
58 README: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/README.xml
59         $(xml2txt_command) $(srcdir)/docs/gnu/README.xml
61 NEWS: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/NEWS.xml
62         $(xml2txt_command) $(srcdir)/docs/gnu/NEWS.xml
64 TODO: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/TODO.xml
65         $(xml2txt_command) $(srcdir)/docs/gnu/TODO.xml
67 CONTRIBUTING: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/CONTRIBUTING.xml
68         $(xml2txt_command) $(srcdir)/docs/gnu/CONTRIBUTING.xml
70 HACKING: $(xml2txt_stylesheet) $(srcdir)/docs/gnu/HACKING.xml
71         $(xml2txt_command) $(srcdir)/docs/gnu/HACKING.xml