[meld/meld-3-12] build_helpers: Make sure that we build help for C locale (bgo#737833)



commit c361e4eaccfaed4f5c5d64a206ea7941e3ef8a57
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat Oct 4 10:01:05 2014 +1000

    build_helpers: Make sure that we build help for C locale (bgo#737833)

 meld/build_helpers.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/meld/build_helpers.py b/meld/build_helpers.py
index 385e3dc..69ad5bf 100644
--- a/meld/build_helpers.py
+++ b/meld/build_helpers.py
@@ -117,6 +117,9 @@ class build_help(distutils.cmd.Command):
         else:
             self.selected_languages = os.listdir(self.help_dir)
 
+        if 'C' not in self.selected_languages:
+            self.selected_languages.append('C')
+
         self.C_PAGES = glob.glob(os.path.join(self.help_dir, 'C', '*.page'))
         self.C_EXTRA = glob.glob(os.path.join(self.help_dir, 'C', '*.xml'))
 


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