From 369cc785e1f4285545ee506c7681273883fb8d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Sat, 6 Aug 2005 12:22:32 +0000 Subject: [PATCH] bug: 345 --- pisi/actionsapi/autotools.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pisi/actionsapi/autotools.py b/pisi/actionsapi/autotools.py index 0ed80f8a..2a47ef3b 100644 --- a/pisi/actionsapi/autotools.py +++ b/pisi/actionsapi/autotools.py @@ -80,11 +80,8 @@ def compile(parameters = ''): def make(parameters = ''): '''make source with given parameters = "all" || "doc" etc.''' - if can_access_file('makefile') or can_access_file('Makefile') or can_access_file('GNUmakefile'): - if system('make %s' % parameters): + if system('make %s' % parameters): raise MakeError('!!! Make failed...\n') - else: - raise MakeError('!!! No Makefile found...\n') def install(parameters = ''): '''install source into install directory with given parameters'''