1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-18 20:34:39 +01:00

Keep the BUILDBOT_REVISION the same when generating a deb rules file, so the version number doesn't change on launchpad

This commit is contained in:
David Sansome 2010-07-24 23:04:28 +00:00
parent d13c909674
commit ff595ee679
2 changed files with 5 additions and 2 deletions

View File

@ -5,3 +5,5 @@ set(DEB_DIST "unstable" CACHE STRING "Distribution to set in the .deb changelog"
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/changelog.in configure_file(${CMAKE_CURRENT_SOURCE_DIR}/changelog.in
${CMAKE_CURRENT_SOURCE_DIR}/changelog) ${CMAKE_CURRENT_SOURCE_DIR}/changelog)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/rules.in
${CMAKE_CURRENT_SOURCE_DIR}/rules @ONLY)

View File

@ -6,7 +6,8 @@ configure-stamp:
dh_testdir dh_testdir
cd bin && cmake .. \ cd bin && cmake .. \
-DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/clementine/usr \ -DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/clementine/usr \
-DBUNDLE_PROJECTM_PRESETS=OFF -DBUNDLE_PROJECTM_PRESETS=OFF \
-DBUILDBOT_REVISION=@BUILDBOT_REVISION@
touch configure-stamp touch configure-stamp
build: build-stamp build: build-stamp