ubuntu-touch-coreapps-reviewers team mailing list archive
-
ubuntu-touch-coreapps-reviewers team
-
Mailing list archive
-
Message #05363
[Merge] lp:~popey/ubuntu-filemanager-app/set-bzr-revno into lp:ubuntu-filemanager-app
Alan Pope has proposed merging lp:~popey/ubuntu-filemanager-app/set-bzr-revno into lp:ubuntu-filemanager-app.
Requested reviews:
Ubuntu File Manager Developers (ubuntu-filemanager-dev)
For more details, see:
https://code.launchpad.net/~popey/ubuntu-filemanager-app/set-bzr-revno/+merge/274957
--
Your team Ubuntu File Manager Developers is requested to review the proposed merge of lp:~popey/ubuntu-filemanager-app/set-bzr-revno into lp:ubuntu-filemanager-app.
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2015-10-13 16:49:05 +0000
+++ CMakeLists.txt 2015-10-19 22:15:50 +0000
@@ -25,6 +25,13 @@
add_definitions(-D_LARGEFILE_SOURCE)
add_definitions(-D_FILE_OFFSET_BITS=64)
+# Sets BZR_REVNO
+execute_process(
+ COMMAND bzr revno ${CMAKE_SOURCE_DIR}
+ OUTPUT_VARIABLE BZR_REVNO
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+)
+
if(CLICK_MODE)
if(NOT DEFINED BZR_SOURCE)
set(BZR_SOURCE "lp:${LP_PROJECT}")
Follow ups