From 93fe5c4acbb64988213d295a257ba747f5de554c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20G=C3=A2teau?= Date: Tue, 20 May 2014 15:02:00 +0200 Subject: Skip non-directory files inside the po/ directory REVIEW: 118216 --- tests/ECMPoQmToolsTest/CMakeLists.txt | 4 +++- tests/ECMPoQmToolsTest/po/no-po/placeholder | 0 tests/ECMPoQmToolsTest/po/should-not-be-installed | 0 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 tests/ECMPoQmToolsTest/po/no-po/placeholder create mode 100644 tests/ECMPoQmToolsTest/po/should-not-be-installed (limited to 'tests/ECMPoQmToolsTest') 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 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 -- cgit v1.2.1