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:
parent
d13c909674
commit
ff595ee679
2
debian/CMakeLists.txt
vendored
2
debian/CMakeLists.txt
vendored
@ -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
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/changelog)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/rules.in
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/rules @ONLY)
|
||||
|
5
debian/rules → debian/rules.in
vendored
5
debian/rules → debian/rules.in
vendored
@ -5,8 +5,9 @@ configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
cd bin && cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/clementine/usr \
|
||||
-DBUNDLE_PROJECTM_PRESETS=OFF
|
||||
-DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/clementine/usr \
|
||||
-DBUNDLE_PROJECTM_PRESETS=OFF \
|
||||
-DBUILDBOT_REVISION=@BUILDBOT_REVISION@
|
||||
touch configure-stamp
|
||||
|
||||
build: build-stamp
|
Loading…
Reference in New Issue
Block a user