summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2019-06-25 08:58:34 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-06-25 09:55:58 +0200
commitc5ca85848c2fe28366d286a5b000f99d927516d3 (patch)
tree7617a180e499f0ae53422d312aff99fcfd341f38 /Makefile.am
parent1f7e4deb527db32c55646e6e5baedb2ff2aa205e (diff)
build: avoid recursion into py/ if not selected
Signed-off-by: Jan Engelhardt <jengelh@inai.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index e567d32d..4a17424d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,8 +3,10 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src \
include \
files \
- doc \
- py
+ doc
+if HAVE_PYTHON
+SUBDIRS += py
+endif
EXTRA_DIST = tests \
files