2010-09-05 00:33:31 +02:00
|
|
|
set(DEB_ARCH amd64 CACHE STRING "Architecture of the deb file")
|
|
|
|
|
|
|
|
add_custom_target(deb
|
2010-11-21 19:09:28 +01:00
|
|
|
COMMAND dpkg-buildpackage -b -d -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}
|
|
|
|
)
|