[gegl] tool/csourcetostring.py: skip module.c



commit 9222cf89d8c8a7e0384117590b8f58d2fd4ccc21
Author: Øyvind Kolås <pippin gimp org>
Date:   Sat Dec 31 21:41:18 2016 +0100

    tool/csourcetostring.py: skip module.c
    
    Unneeded and complicates build processes by having root owned files on sudo
    make install.

 tools/csourcetostring.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tools/csourcetostring.py b/tools/csourcetostring.py
index 62a0b1b..80df6a2 100755
--- a/tools/csourcetostring.py
+++ b/tools/csourcetostring.py
@@ -12,6 +12,8 @@ if len(sys.argv) != 2:
 def escape_string(s):
   return s.replace('\\', r'\\').replace('"', r'\"')
 
+if "module.c" in sys.argv[1]:
+   exit()
 
 infile  = open(sys.argv[1], "r")
 outfile = open(sys.argv[1] + ".h", "w")


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