mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-14 10:24:19 +01:00
9 lines
349 B
CMake
9 lines
349 B
CMake
set(DEB_ARCH amd64 CACHE STRING "Architecture of the deb file")
|
|
|
|
add_custom_target(deb
|
|
COMMAND dpkg-buildpackage -b -uc -us
|
|
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/../clementine_${CLEMENTINE_DEB_VERSION}_${DEB_ARCH}.deb
|
|
${CMAKE_BINARY_DIR}/clementine.deb
|
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
|
)
|