[library-web] support for modules using GNUmakefile.am instead of Makefile.am



commit 532eb43bf32de9250f1f2c09b5cdf2354fa32870
Author: Frederic Peters <fpeters 0d be>
Date:   Wed Apr 29 15:27:52 2009 +0200

    support for modules using GNUmakefile.am instead of Makefile.am
---
 src/lgo.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lgo.py b/src/lgo.py
index a052e56..3ffb5d0 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -1775,7 +1775,7 @@ class Lgo:
         regex_gdu = re.compile(r'include.*gnome-doc-utils.make', re.DOTALL)
         for tarinfo in tar:
             doc = None
-            if os.path.split(tarinfo.name)[-1] == 'Makefile.am':
+            if os.path.split(tarinfo.name)[-1] in ('Makefile.am', 'GNUmakefile.am'):
                 fd = tar.extractfile(tarinfo)
                 makefile_am = fd.read()   
                 makefile_am = makefile_am.replace('\\\n', ' ')



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]