summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-07-30 23:10:39 +0200
committerLennart Poettering <lennart@poettering.net>2008-07-30 23:10:39 +0200
commita301690be6581e23a39813444b2904addcb26ab7 (patch)
treef678658bb426989e1889d153a6f6ddccc2a42781 /Makefile.am
parent54a5c0546730efd7e8e54ac8cb06be0b7dfcea0d (diff)
make building of examples optional
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 742b744..2025eb8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,7 +17,11 @@
# <http://www.gnu.org/licenses/>.
EXTRA_DIST=bootstrap.sh LICENSE
-SUBDIRS=libdaemon doc examples
+SUBDIRS=libdaemon doc
+
+if EXAMPLES
+SUBDIRS += examples
+endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libdaemon.pc