[AdgADim] Implemented extension lines and arc
[adg.git] / Makefile.am
blob42dc367fa78e806ab11b9e801404f1365df09f47
1 MSG_GEN=                        echo '  GEN   '$@;
2 MSG_XSLTERROR=                  echo ' *WARN  libxslt-1.0.19 or later is required in order to generate '$@;
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         @if test -d "$(srcdir)/.git"; then \
30           $(MSG_GEN)(cd "$(srcdir)" && git log --stat > $@); \
31         else \
32           echo A git checkout is required to generate $@ >&2; \
33         fi
35 # Update the README from the xml version
36 README: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/README.xml
37         @if test -x $(XSLTPROC); then \
38           $(MSG_GEN)$(XSLTPROC) -o $@ $^; \
39         else \
40           $(MSG_XSLTERROR) \
41         fi
43 # Update the NEWS from the xml version
44 NEWS: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/NEWS.xml
45         @if test -x $(XSLTPROC); then \
46           $(MSG_GEN)$(XSLTPROC) -o $@ $^; \
47         else \
48           $(MSG_XSLTERROR) \
49         fi
51 # Update the TODO from the xml version
52 TODO: $(srcdir)/docs/gnu/docbook2txt.xsl $(srcdir)/docs/gnu/TODO.xml
53         @if test -x $(XSLTPROC); then \
54           $(MSG_GEN)$(XSLTPROC) -o $@ $^; \
55         else \
56           $(MSG_XSLTERROR) \
57         fi