1 ## Process this file with automake to produce Makefile.in.
3 XSLTPROC= `which xsltproc`
7 BUILT_SOURCES= ChangeLog \
12 EXTRA_DIST= ABOUT-NLS \
27 # Creating ChangeLog files from git log:
28 # idea stolen from cairo/build/Makefile.am.changelog
31 @if test -d "$(srcdir)/.git"; then \
32 (cd "$(srcdir)" && git log --stat > $@); \
34 echo A git checkout is required to generate $@ >&2; \
37 # Update the README from the xml version
38 README: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/README.xml
40 @if test -x $(XSLTPROC); then \
41 $(XSLTPROC) -o $@ $^; \
43 echo libxslt-1.0.19 or later is required in order to generate $@; \
46 # Update the NEWS from the xml version
47 NEWS: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/NEWS.xml
49 @if test -x $(XSLTPROC); then \
50 $(XSLTPROC) -o $@ $^; \
52 echo libxslt-1.0.19 or later is required in order to generate $@; \
55 # Update the TODO from the xml version
56 TODO: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/TODO.xml
58 @if test -x $(XSLTPROC); then \
59 $(XSLTPROC) -o $@ $^; \
61 echo libxslt-1.0.19 or later is required in order to generate $@; \