summaryrefslogtreecommitdiffstats
path: root/po/CMakeLists.txt
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-08-16 23:13:27 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2013-08-16 23:13:27 -0500
commit071d5a847e8cbab6dbebb2c649e28689464c88a1 (patch)
treec45957306d01ea6d46bd31866c54d852d3fce87b /po/CMakeLists.txt
parentf8befe6e2f7dea79c61750aefb604d79cf263b39 (diff)
downloadtdepowersave-071d5a847e8cbab6dbebb2c649e28689464c88a1.tar.gz
tdepowersave-071d5a847e8cbab6dbebb2c649e28689464c88a1.zip
Add cmake support for help handbook with preliminary support added for po files.
Diffstat (limited to 'po/CMakeLists.txt')
-rw-r--r--po/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
new file mode 100644
index 0000000..627eb11
--- /dev/null
+++ b/po/CMakeLists.txt
@@ -0,0 +1,17 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} tdepowersave.po )
+
+foreach( _po ${po_files} )
+ get_filename_component( _lang ${_po} PATH )
+ tde_create_translation( FILES ${_po} LANG ${_lang} )
+endforeach( )