2010-09-05 00:33:31 +02:00
|
|
|
set(DEB_ARCH amd64 CACHE STRING "Architecture of the deb file")
|
|
|
|
|
|
|
|
add_custom_target(deb
|
|
|
|
COMMAND dpkg-buildpackage -b -uc -us
|
2010-09-05 13:48:56 +02:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/../clementine_${CLEMENTINE_DEB_VERSION}_${DEB_ARCH}.deb
|
2010-09-05 00:33:31 +02:00
|
|
|
${CMAKE_BINARY_DIR}/clementine.deb
|
|
|
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
|
|
|
)
|