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
|
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)
|
||||||
|
3
debian/rules → debian/rules.in
vendored
3
debian/rules → debian/rules.in
vendored
@ -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
|
Loading…
Reference in New Issue
Block a user