1 ## Process this file with automake to produce Makefile.in.
3 XSLTPROC= `which xsltproc`
7 BUILT_SOURCES= ChangeLog \
12 EXTRA_DIST= ABOUT-NLS \
28 # Creating ChangeLog files from git log:
29 # idea stolen from cairo/build/Makefile.am.changelog
32 @if test -d "$(srcdir)/.git"; then \
33 (cd "$(srcdir)" && git log --stat > $@); \
35 echo A git checkout is required to generate $@ >&2; \
38 # Update the README from the xml version
39 README: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/README.xml
41 @if test -x $(XSLTPROC); then \
42 $(XSLTPROC) -o $@ $^; \
44 echo libxslt-1.0.19 or later is required in order to generate $@; \
47 # Update the NEWS from the xml version
48 NEWS: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/NEWS.xml
50 @if test -x $(XSLTPROC); then \
51 $(XSLTPROC) -o $@ $^; \
53 echo libxslt-1.0.19 or later is required in order to generate $@; \
56 # Update the TODO from the xml version
57 TODO: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/TODO.xml
59 @if test -x $(XSLTPROC); then \
60 $(XSLTPROC) -o $@ $^; \
62 echo libxslt-1.0.19 or later is required in order to generate $@; \