fix memory leak
[oweals/gnunet.git] / Makefile.am
index 567e7b5ff0c24e3dae97631d06ec897983e4e629..7fae33e0f3fab47c52c446cc5e382454d2b24b53 100644 (file)
@@ -1,6 +1,11 @@
 # This Makefile.am is in the public domain
 AM_CPPFLAGS = -I$(top_srcdir)/src/include
-SUBDIRS  = doc m4 src po pkgconfig
+
+if DOC_ONLY
+  SUBDIRS = doc m4 po pkgconfig
+else
+  SUBDIRS  = doc m4 src po pkgconfig
+endif
 
 if !TALER_ONLY
   SUBDIRS += contrib
@@ -10,7 +15,8 @@ EXTRA_DIST = \
  ABOUT-NLS \
  config.rpath \
  install-sh \
- acinclude.m4
+ acinclude.m4 \
+ README.1st
 
 gnunetincludedir = $(includedir)/gnunet
 gnunetinclude_HEADERS = gnunet_config.h