mirror of
https://git.proxmox.com/git/rustc
synced 2025-10-19 22:33:31 +00:00
debian/rules: Define some variables
Signed-off-by: Jordan Justen <jljusten@gmail.com>
This commit is contained in:
parent
ef10207113
commit
02b7470845
7
debian/rules
vendored
7
debian/rules
vendored
@ -4,10 +4,15 @@
|
|||||||
# Uncomment this to turn on verbose mode.
|
# Uncomment this to turn on verbose mode.
|
||||||
#export DH_VERBOSE=1
|
#export DH_VERBOSE=1
|
||||||
|
|
||||||
|
RUST_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | cut -f 1 -d '-' | cut -f 1-2 -d .)
|
||||||
|
RUST_PREFIX := usr
|
||||||
|
DEB_DESTDIR := $(CURDIR)/debian/rust
|
||||||
|
RUST_TMP_PREFIX := $(DEB_DESTDIR)/$(RUST_PREFIX)
|
||||||
|
|
||||||
# These are the normal build flags
|
# These are the normal build flags
|
||||||
COMMON_FLAGS = \
|
COMMON_FLAGS = \
|
||||||
--disable-manage-submodules \
|
--disable-manage-submodules \
|
||||||
--prefix=/usr
|
--prefix=/$(RUST_PREFIX)
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
# These flags will be used to avoid external
|
# These flags will be used to avoid external
|
||||||
|
Loading…
Reference in New Issue
Block a user