-fix
[oweals/gnunet.git] / Makefile.am
index beda026c68f668ece5f88d9ee69442e07653b35f..0466fcc10b0bb650d70cbb639916c4d03527f718 100644 (file)
@@ -1,5 +1,15 @@
-INCLUDES = -I$(top_srcdir)/src/include
-SUBDIRS  = contrib doc m4 src po pkgconfig
+# This Makefile.am is in the public domain
+AM_CPPFLAGS = -I$(top_srcdir)/src/include
+
+if DOC_ONLY
+  SUBDIRS = doc m4 po pkgconfig
+else
+  SUBDIRS  = doc m4 src po pkgconfig
+endif
+
+if !TALER_ONLY
+  SUBDIRS += contrib
+endif
 
 EXTRA_DIST = \
  ABOUT-NLS \
@@ -10,17 +20,8 @@ EXTRA_DIST = \
 gnunetincludedir = $(includedir)/gnunet
 gnunetinclude_HEADERS = gnunet_config.h
 
-ACLOCAL_AMFLAGS = -I m4
-
-ChangeLog:
-       if test -f $(top_srcdir)/.svn/entries; then \
-               svn log -v --xml -r HEAD:18264 | \
-                       xsltproc --stringparam ignore-message-starting "-" \
-                                --stringparam strip-prefix "gnunet" \
-                                --stringparam include-rev "yes" $(top_srcdir)/contrib/svn2cl.xsl - > $@; \
-       fi
-
-dist: ChangeLog
+docdir = $(datadir)/doc/gnunet/
+doc_DATA = COPYING README
 
-.PHONY: ChangeLog
+ACLOCAL_AMFLAGS = -I m4