don't build contrib/ when compiling for GNU Taler
[oweals/gnunet.git] / Makefile.am
1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3 SUBDIRS  = doc m4 src po pkgconfig
4
5 if !TALER_ONLY
6   SUBDIRS += contrib
7 endif
8
9 EXTRA_DIST = \
10  ABOUT-NLS \
11  config.rpath \
12  install-sh \
13  acinclude.m4
14
15 gnunetincludedir = $(includedir)/gnunet
16 gnunetinclude_HEADERS = gnunet_config.h
17
18 docdir = $(datadir)/doc/gnunet/
19 doc_DATA = COPYING README
20
21 ACLOCAL_AMFLAGS = -I m4
22
23 ChangeLog:
24         if svn info > /dev/null; then \
25                 svn log -v --xml -r HEAD:18409 | \
26                         xsltproc --stringparam ignore-message-starting "-" \
27                                  --stringparam strip-prefix "gnunet" \
28                                  --stringparam include-rev "yes" $(top_srcdir)/contrib/svn2cl.xsl - > $@; \
29         fi
30
31 dist: ChangeLog
32
33 .PHONY: ChangeLog
34