]> git.proxmox.com Git - rustc.git/blame - debian/rules
Initial packaging
[rustc.git] / debian / rules
CommitLineData
be771b38
LB
1#!/usr/bin/make -f
2# -*- makefile -*-
3
4# Uncomment this to turn on verbose mode.
5#export DH_VERBOSE=1
6
7# These are the normal build flags
8COMMON_FLAGS = \
9 --disable-manage-submodules \
10 --prefix=/usr
11
12# TODO
13# These flags will be used to avoid external
14# stage0 bootstrap binaries
15SELF_BOOTSTRAP = \
16 --enable-local-rust \
17 --local-rust-root=/usr
18
19# TODO
20# These flags will enable the system-wide LLVM
21SYSTEM_LLVM = --llvm-root=/usr
22
23%:
24 dh $@
25
26override_dh_auto_configure:
27 ./configure \
28 $(COMMON_FLAGS) \
29 # TODO
30 # $(SELF_BOOTSTRAP)
31 # $(SYSTEM_LLVM)