mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-24 00:31:36 +01:00
10 lines
496 B
CMake
10 lines
496 B
CMake
set(DEB_ARCH amd64 CACHE STRING "Architecture of the deb file")
|
|
set(DEB_DIST "unstable" CACHE STRING "Distribution to set in the .deb changelog")
|
|
|
|
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
|
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
|
)
|