Merge lp:~codygarver/pantheon-terminal/fix-1076823 into lp:~elementary-apps/pantheon-terminal/trunk

Proposed by Cody Garver
Status: Merged
Approved by: David Gomes
Approved revision: 466
Merged at revision: 466
Proposed branch: lp:~codygarver/pantheon-terminal/fix-1076823
Merge into: lp:~elementary-apps/pantheon-terminal/trunk
Diff against target: 18 lines (+9/-0)
1 file modified
CMakeLists.txt (+9/-0)
To merge this branch: bzr merge lp:~codygarver/pantheon-terminal/fix-1076823
Reviewer Review Type Date Requested Status
David Gomes (community) Approve
Review via email: mp+155666@code.launchpad.net
To post a comment you must log in.
Revision history for this message
David Gomes (davidgomes) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2013-03-04 17:26:46 +0000
3+++ CMakeLists.txt 2013-03-27 06:30:29 +0000
4@@ -27,6 +27,15 @@
5 configure_file (${CMAKE_SOURCE_DIR}/src/config.vala.cmake ${CMAKE_SOURCE_DIR}/src/config.vala)
6 add_definitions (-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
7
8+# Add 'make dist' command for creating release tarball
9+set (CPACK_PACKAGE_VERSION ${VERSION})
10+set (CPACK_SOURCE_GENERATOR "TGZ")
11+set (CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION}")
12+set (CPACK_SOURCE_IGNORE_FILES "/build/;/.bzr/;/.bzrignore;~$;${CPACK_SOURCE_IGNORE_FILES}")
13+
14+include (CPack)
15+add_custom_target (dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
16+
17 find_package (PkgConfig)
18 pkg_check_modules (DEPS REQUIRED gthread-2.0 gtk+-3.0 granite vte-2.90 libnotify gdk-3.0)
19

Subscribers

People subscribed via source and target branches