1 include $(top_srcdir)/build/Makefile.am.common
3 xslt_to_doc= @if test -x $(XSLTPROC); then \
4 $(MSG_GEN)$(XSLTPROC) -o $@ $^; \
6 echo ' *WARN libxslt-1.0.19 or later is required in order to generate '$@; \
8 ACLOCAL_AMFLAGS= -I build
9 DISTCHECK_CONFIGURE_FLAGS= --enable-gtk-doc
11 BUILT_SOURCES= ChangeLog \
32 # Creating ChangeLog files from git log:
33 # idea stolen from cairo/build/Makefile.am.changelog
35 @if test -d "$(srcdir)/.git"; then \
36 $(MSG_GEN)(cd "$(srcdir)" && git log --stat > $@); \
38 echo A git checkout is required to generate $@ >&2; \
41 # Autogenerated text docs
42 README: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/README.xml
45 NEWS: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/NEWS.xml
48 TODO: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/TODO.xml
51 CONTRIBUTING: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/CONTRIBUTING.xml