1 include $(top_srcdir)/build/Makefile.am.common
3 xml2txt_stylesheet= $(abs_srcdir)/docs/common/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 $@' ; \
9 $(XSLTPROC) --novalid -o $@ $(xml2txt_stylesheet)
10 ACLOCAL_AMFLAGS= -I build
11 DISTCHECK_CONFIGURE_FLAGS= --enable-pango \
13 --enable-test-framework \
14 --enable-introspection \
16 --with-glade-catalogdir
18 BUILT_SOURCES= ChangeLog \
30 build/configure-win32 \
31 build/configure-win64 \
32 build/adg-header.bmp \
33 build/adg-welcome.bmp \
35 build/gschemas.compiled \
36 docs/gnu/CONTRIBUTING.xml \
37 docs/gnu/HACKING.xml \
42 CLEANFILES= test-report.xml \
63 $(MAKENSIS) build/adg.nsi
70 # Creating ChangeLog files from git log:
71 # idea stolen from cairo/build/Makefile.am.changelog
73 $(AM_V_GEN)if test -d "$(abs_srcdir)/.git"; then \
74 ( cd "$(abs_srcdir)" && git log --stat > $@ ) ; \
76 echo ' *WARN A git checkout is required to generate $@' ; \
80 # Autogenerated text docs
81 README: $(xml2txt_stylesheet) $(abs_srcdir)/docs/gnu/README.xml
82 $(xml2txt_command) $(abs_srcdir)/docs/gnu/README.xml
84 NEWS: $(xml2txt_stylesheet) $(abs_srcdir)/docs/gnu/NEWS.xml
85 $(xml2txt_command) $(abs_srcdir)/docs/gnu/NEWS.xml
87 TODO: $(xml2txt_stylesheet) $(abs_srcdir)/docs/gnu/TODO.xml
88 $(xml2txt_command) $(abs_srcdir)/docs/gnu/TODO.xml
90 CONTRIBUTING: $(xml2txt_stylesheet) $(abs_srcdir)/docs/gnu/CONTRIBUTING.xml
91 $(xml2txt_command) $(abs_srcdir)/docs/gnu/CONTRIBUTING.xml
93 HACKING: $(xml2txt_stylesheet) $(abs_srcdir)/docs/gnu/HACKING.xml
94 $(xml2txt_command) $(abs_srcdir)/docs/gnu/HACKING.xml