summaryrefslogtreecommitdiff
path: root/morphlib/buildsystem.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/buildsystem.py')
-rw-r--r--morphlib/buildsystem.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/morphlib/buildsystem.py b/morphlib/buildsystem.py
index 8b71a640..a048d881 100644
--- a/morphlib/buildsystem.py
+++ b/morphlib/buildsystem.py
@@ -129,16 +129,14 @@ build_systems = [
def detect_build_system(srcdir):
'''Automatically detect the build system, if possible.
- If the build system cannot be detected automatically, then the manual
- build system is used instead.
+ If the build system cannot be detected automatically, return None.
'''
for bs in build_systems:
if bs.used_by_project(srcdir):
return bs
- return ManualBuildSystem()
-
+ return None
def lookup_build_system(name):