[CpmlCurve] Corrected typo
[adg.git] / Makefile.am
blobebe4e918626b1ad00d30c45df9ebf245322a6d64
1 XSLTPROC=                       `which xsltproc`
3 ACLOCAL_AMFLAGS=                -I m4
4 DISTCHECK_CONFIGURE_FLAGS=      --enable-gtk-doc
6 BUILT_SOURCES=                  ChangeLog \
7                                 README \
8                                 NEWS \
9                                 TODO
11 EXTRA_DIST=                     ABOUT-NLS \
12                                 config.rpath \
13                                 COPYING \
14                                 ChangeLog-0.2.1 \
15                                 INSTALL \
16                                 m4/ChangeLog \
17                                 adg.doap \
18                                 $(BUILT_SOURCES)
20 SUBDIRS=                        cpml \
21                                 adg \
22                                 demo \
23                                 docs \
24                                 po
26 # Creating ChangeLog files from git log:
27 # idea stolen from cairo/build/Makefile.am.changelog
28 ChangeLog:
29         @echo Updating $@
30         @if test -d "$(srcdir)/.git"; then \
31           (cd "$(srcdir)" && git log --stat > $@); \
32         else \
33           echo A git checkout is required to generate $@ >&2; \
34         fi
36 # Update the README from the xml version
37 README: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/README.xml
38         @echo Updating $@
39         @if test -x $(XSLTPROC); then \
40           $(XSLTPROC) -o $@ $^; \
41         else \
42           echo libxslt-1.0.19 or later is required in order to generate $@; \
43         fi
45 # Update the NEWS from the xml version
46 NEWS: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/NEWS.xml
47         @echo Updating $@
48         @if test -x $(XSLTPROC); then \
49           $(XSLTPROC) -o $@ $^; \
50         else \
51           echo libxslt-1.0.19 or later is required in order to generate $@; \
52         fi
54 # Update the TODO from the xml version
55 TODO: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/TODO.xml
56         @echo Updating $@
57         @if test -x $(XSLTPROC); then \
58           $(XSLTPROC) -o $@ $^; \
59         else \
60           echo libxslt-1.0.19 or later is required in order to generate $@; \
61         fi