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 \
11 EXTRA_DIST= ABOUT-NLS \
26 # Creating ChangeLog files from git log:
27 # idea stolen from cairo/build/Makefile.am.changelog
29 @if test -d "$(srcdir)/.git"; then \
30 $(MSG_GEN)(cd "$(srcdir)" && git log --stat > $@); \
32 echo A git checkout is required to generate $@ >&2; \
35 # Update the README from the xml version
36 README: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/README.xml
37 @if test -x $(XSLTPROC); then \
38 $(MSG_GEN)$(XSLTPROC) -o $@ $^; \
43 # Update the NEWS from the xml version
44 NEWS: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/NEWS.xml
45 @if test -x $(XSLTPROC); then \
46 $(MSG_GEN)$(XSLTPROC) -o $@ $^; \
51 # Update the TODO from the xml version
52 TODO: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/TODO.xml
53 @if test -x $(XSLTPROC); then \
54 $(MSG_GEN)$(XSLTPROC) -o $@ $^; \