diff options
Diffstat (limited to 'attoconf/lib/make.py')
-rw-r--r-- | attoconf/lib/make.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/attoconf/lib/make.py b/attoconf/lib/make.py index c63cb61..ee58619 100644 --- a/attoconf/lib/make.py +++ b/attoconf/lib/make.py @@ -18,6 +18,7 @@ from __future__ import print_function, division, absolute_import import os +import sys from ..classy import ClassyProject from ..version import full_version @@ -82,5 +83,7 @@ class Make(ClassyProject): def post(self): super(Make, self).post() + if 'SRC_DIR' in self.order: + sys.exit('ERROR: Incompatible generator hooks!') self.order.insert(0, 'SRC_DIR') self.checks.append(MakeHook(self.make_in, self.make_out)) |