diff options
author | Aurélien Gâteau <agateau@kde.org> | 2014-05-20 15:02:00 +0200 |
---|---|---|
committer | Aurélien Gâteau <agateau@kde.org> | 2014-05-26 16:05:56 +0200 |
commit | 93fe5c4acbb64988213d295a257ba747f5de554c (patch) | |
tree | c82432123f8b4075c5c36fd6d9a542707e368ccf /tests | |
parent | edbefdaa47ba2af0f6472e6740e72870e4eb94fa (diff) | |
download | extra-cmake-modules-93fe5c4acbb64988213d295a257ba747f5de554c.tar.gz extra-cmake-modules-93fe5c4acbb64988213d295a257ba747f5de554c.tar.bz2 |
Skip non-directory files inside the po/ directory
REVIEW: 118216
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ECMPoQmToolsTest/CMakeLists.txt | 4 | ||||
-rw-r--r-- | tests/ECMPoQmToolsTest/po/no-po/placeholder | 0 | ||||
-rw-r--r-- | tests/ECMPoQmToolsTest/po/should-not-be-installed | 0 |
3 files changed, 3 insertions, 1 deletions
diff --git a/tests/ECMPoQmToolsTest/CMakeLists.txt b/tests/ECMPoQmToolsTest/CMakeLists.txt index 3dcb3513..15351d2f 100644 --- a/tests/ECMPoQmToolsTest/CMakeLists.txt +++ b/tests/ECMPoQmToolsTest/CMakeLists.txt @@ -24,7 +24,9 @@ ecm_process_po_files_as_qm(fr ALL PO_FILES only-process.po ) -# Should create a bunch of .qm files and install them in share/locale +# Should create a bunch of .qm files and install them in share/locale. +# Should ignore files directly under po/ as well as directories under po/ which +# do not contain any .po files. ecm_install_po_files_as_qm(po) # Should create a bunch of .qm files and install them in diff --git a/tests/ECMPoQmToolsTest/po/no-po/placeholder b/tests/ECMPoQmToolsTest/po/no-po/placeholder new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/tests/ECMPoQmToolsTest/po/no-po/placeholder diff --git a/tests/ECMPoQmToolsTest/po/should-not-be-installed b/tests/ECMPoQmToolsTest/po/should-not-be-installed new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/tests/ECMPoQmToolsTest/po/should-not-be-installed |