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 \
17 EXTRA_DIST+= COPYING \
33 # Creating ChangeLog files from git log:
34 # idea stolen from cairo/build/Makefile.am.changelog
36 @if test -d "$(srcdir)/.git"; then \
37 $(MSG_GEN)(cd "$(srcdir)" && git log --stat > $@); \
39 echo A git checkout is required to generate $@ >&2; \
42 # Autogenerated text docs
43 README: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/README.xml
46 NEWS: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/NEWS.xml
49 TODO: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/TODO.xml
52 CONTRIBUTING: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/CONTRIBUTING.xml