[library-web] actually allow makefile.am to be missing (required for	htmlfiles.py)
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [library-web] actually allow makefile.am to be missing (required for	htmlfiles.py)
- Date: Fri, 12 Jan 2018 19:24:30 +0000 (UTC)
commit 015fefdebd2931f8d98da3c10cd54e372acc9875
Author: Frédéric Péters <fpeters 0d be>
Date:   Fri Jan 12 20:24:11 2018 +0100
    actually allow makefile.am to be missing (required for htmlfiles.py)
 src/modtypes/base.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/modtypes/base.py b/src/modtypes/base.py
index 5bc99d9..87cb486 100644
--- a/src/modtypes/base.py
+++ b/src/modtypes/base.py
@@ -77,7 +77,9 @@ class DocModule(object):
             assert match
             self.modulename = match[0]
         else:
-            raise Exception('need makefile.am or meson.build')
+            self.makefile_am = makefile_am
+            pass # raise Exception('need makefile.am or meson.build')
+
         self.version = os.path.splitext(tar.name)[0].split('-')[-1]
         if self.version.endswith('.tar'):
             self.version = self.version[:-4]
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]