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 $@' ; \
9 $(XSLTPROC) --novalid -o $@ $(xml2txt_stylesheet)
10 ACLOCAL_AMFLAGS= -I build
11 DISTCHECK_CONFIGURE_FLAGS= --enable-pango \
15 --enable-test-framework
17 BUILT_SOURCES= ChangeLog \
29 build/configure-mingw \
31 CLEANFILES= test-report.xml \
47 # Creating ChangeLog files from git log:
48 # idea stolen from cairo/build/Makefile.am.changelog
50 $(AM_V_GEN)if test -d "$(srcdir)/.git"; then \
51 ( cd "$(srcdir)" && git log --stat > $@ ) ; \
53 echo ' *WARN A git checkout is required to generate $@' ; \
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