1 MSG_GEN= echo ' GEN '$@;
2 MSG_XSLTERROR= echo ' *WARN libxslt-1.0.19 or later is required in order to generate '$@;
4 DISTCHECK_CONFIGURE_FLAGS= --enable-gtk-doc
6 BUILT_SOURCES= ChangeLog \
12 EXTRA_DIST= ABOUT-NLS \
27 # Creating ChangeLog files from git log:
28 # idea stolen from cairo/build/Makefile.am.changelog
30 @if test -d "$(srcdir)/.git"; then \
31 $(MSG_GEN)(cd "$(srcdir)" && git log --stat > $@); \
33 echo A git checkout is required to generate $@ >&2; \
36 # Autogenerate text docs
37 README: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/README.xml
38 NEWS: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/NEWS.xml
39 TODO: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/TODO.xml
40 CONTRIBUTING: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/CONTRIBUTING.xml
41 @if test -x $(XSLTPROC); then \
42 $(MSG_GEN)$(XSLTPROC) -o $@ $^; \