1 MSG_GEN= echo ' GEN '$@;
2 xslt_to_doc= @if test -x $(XSLTPROC); then \
3 $(MSG_GEN)$(XSLTPROC) -o $@ $^; \
5 echo ' *WARN libxslt-1.0.19 or later is required in order to generate '$@; \
8 DISTCHECK_CONFIGURE_FLAGS= --enable-gtk-doc
10 BUILT_SOURCES= ChangeLog \
16 EXTRA_DIST= ABOUT-NLS \
35 pkgconfigdir= $(libdir)/pkgconfig
36 pkgconfig_DATA = cpml.pc \
39 # Creating ChangeLog files from git log:
40 # idea stolen from cairo/build/Makefile.am.changelog
42 @if test -d "$(srcdir)/.git"; then \
43 $(MSG_GEN)(cd "$(srcdir)" && git log --stat > $@); \
45 echo A git checkout is required to generate $@ >&2; \
48 # Autogenerated text docs
49 README: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/README.xml
52 NEWS: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/NEWS.xml
55 TODO: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/TODO.xml
58 CONTRIBUTING: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/CONTRIBUTING.xml