summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7f9ea3c)
raw | patch | inline | side by side (parent: 7f9ea3c)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 30 Jul 2014 21:15:23 +0000 (23:15 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 30 Jul 2014 21:15:23 +0000 (23:15 +0200) |
This suppresses this category of warnings when running build.sh:
src/Makefile.am:NNN: warning: source file 'XXX' is in a subdirectory,
src/Makefile.am:NNN: but option 'subdir-objects' is disabled
src/Makefile.am:NNN: warning: source file 'XXX' is in a subdirectory,
src/Makefile.am:NNN: but option 'subdir-objects' is disabled
src/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index b8a272a0a5e2af3af6264a67fb72351a492fed84..6c7a1d4eb122e8f21676227be35e3ae2a3303b83 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
AM_CPPFLAGS += -DPLUGINDIR='"${pkglibdir}"'
AM_CPPFLAGS += -DPKGDATADIR='"${pkgdatadir}"'
+AUTOMAKE_OPTIONS = subdir-objects
+
sbin_PROGRAMS = collectd collectdmon
bin_PROGRAMS = collectd-nagios collectdctl collectd-tg