Add install command for po/ directory with cmake
Bug #1228159 reported by
Olivier Duchateau
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Midori Web Browser |
Fix Released
|
High
|
Unassigned |
Bug Description
This patch provides install command, in order to install .mo files.
Related branches
lp:~midori/midori/mofiles
- Paweł Forysiuk: Approve
-
Diff: 28 lines (+5/-2)2 files modifiedCMakeLists.txt (+1/-1)
po/CMakeLists.txt (+4/-1)
Changed in midori: | |
status: | New → Fix Committed |
importance: | Undecided → High |
Changed in midori: | |
milestone: | none → 0.5.6 |
Changed in midori: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It's better to replace ${CMAKE_ INSTALL_ LOCALEDIR} by ${CMAKE_ INSTALL_ FULL_LOCALEDIR} in main CMakeLists.txt like this
--- ./CMakeLists. txt.orig 2013-09-20 16:37:11.000000000 +0000 s("-DDOCDIR= \"${CMAKE_ INSTALL_ FULL_DOCDIR} \"")
+++ ./CMakeLists.txt 2013-09-20 17:06:22.000000000 +0000
@@ -38,7 +38,7 @@
add_definition
add_definition s("-DENABLE_ NLS=1") s("-DLOCALEDIR= \"${CMAKE_ INSTALL_ LOCALEDIR} \"") s("-DLOCALEDIR= \"${CMAKE_ INSTALL_ FULL_LOCALEDIR} \"")
-add_definition
+add_definition
file(WRITE "${CMAKE_ CURRENT_ BINARY_ DIR}/config. h" "/* # generated file (stub) */") s("-DHAVE_ CONFIG_ H=1")
add_definition
And ${CMAKE_ INSTALL_ FULL_LOCALEDIR} by ${CMAKE_ INSTALL_ LOCALEDIR} in po/CMakeLists.txt