1 XSLTPROC= `which xsltproc`
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
30 @if test -d "$(srcdir)/.git"; then \
31 (cd "$(srcdir)" && git log --stat > $@); \
33 echo A git checkout is required to generate $@ >&2; \
36 # Update the README from the xml version
37 README: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/README.xml
39 @if test -x $(XSLTPROC); then \
40 $(XSLTPROC) -o $@ $^; \
42 echo libxslt-1.0.19 or later is required in order to generate $@; \
45 # Update the NEWS from the xml version
46 NEWS: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/NEWS.xml
48 @if test -x $(XSLTPROC); then \
49 $(XSLTPROC) -o $@ $^; \
51 echo libxslt-1.0.19 or later is required in order to generate $@; \
54 # Update the TODO from the xml version
55 TODO: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/TODO.xml
57 @if test -x $(XSLTPROC); then \
58 $(XSLTPROC) -o $@ $^; \
60 echo libxslt-1.0.19 or later is required in order to generate $@; \