~ari-tczew/ubuntu/natty/clementine/lp-747113

« back to all changes in this revision

Viewing changes to cmake/Deb.cmake

  • Committer: Artur Rona
  • Date: 2011-04-04 20:05:33 UTC
  • Revision ID: ari-tczew@ubuntu.com-20110404200533-6aclzasj5pp8t1hq
* New upstream release. (LP: #747113)
* Drop all patches, have been applied upstream.
* Update debian/copyright.
* Refresh description in debian/control in order to avoid lintian error.
* Bump debhelper to 8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
set(DEB_ARCH amd64 CACHE STRING "Architecture of the deb file")
 
2
set(DEB_DIST "unstable" CACHE STRING "Distribution to set in the .deb changelog")
2
3
 
3
4
add_custom_target(deb
4
5
  COMMAND dpkg-buildpackage -b -d -uc -us
5
 
  COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/../clementine_${CLEMENTINE_DEB_VERSION}_${DEB_ARCH}.deb
6
 
                                   ${CMAKE_BINARY_DIR}/clementine.deb
 
6
  COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/../clementine_${CLEMENTINE_VERSION_DEB}~${DEB_DIST}_${DEB_ARCH}.deb
 
7
                                   ${CMAKE_BINARY_DIR}/clementine_${CLEMENTINE_VERSION_DEB}~${DEB_DIST}_${DEB_ARCH}.deb
7
8
  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
8
9
)