X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=Makefile.am;h=0466fcc10b0bb650d70cbb639916c4d03527f718;hb=6570a7980a945cd3e6484baa8777512506b9ba49;hp=9e72851b38e06731dbb71393d095972c9075ff1a;hpb=8e7e5b7c8ab504a686e52c36d210db86284b75f1;p=oweals%2Fgnunet.git diff --git a/Makefile.am b/Makefile.am index 9e72851b3..0466fcc10 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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:18409 | \ - 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