1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-27 09:41:32 +01:00

10 lines
496 B
CMake
Raw Normal View History

2010-09-04 22:33:31 +00:00
set(DEB_ARCH amd64 CACHE STRING "Architecture of the deb file")
2011-01-08 17:08:33 +00:00
set(DEB_DIST "unstable" CACHE STRING "Distribution to set in the .deb changelog")
2010-09-04 22:33:31 +00:00
add_custom_target(deb
COMMAND dpkg-buildpackage -b -d -uc -us
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/../clementine_${CLEMENTINE_VERSION_DEB}~${DEB_DIST}_${DEB_ARCH}.deb
${CMAKE_BINARY_DIR}/clementine_${CLEMENTINE_VERSION_DEB}~${DEB_DIST}_${DEB_ARCH}.deb
2010-09-04 22:33:31 +00:00
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)