rustc/debian/rules
Jordan Justen ef10207113 debian: Skip test since it is failing on 0.12
Base on:
https://launchpad.net/~hansjorg/+archive/ubuntu/rust

Signed-off-by: Jordan Justen <jljusten@gmail.com>
2015-01-19 10:20:40 -08:00

38 lines
778 B
Makefile
Executable File

#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# These are the normal build flags
COMMON_FLAGS = \
--disable-manage-submodules \
--prefix=/usr
# TODO
# These flags will be used to avoid external
# stage0 bootstrap binaries
SELF_BOOTSTRAP = \
--enable-local-rust \
--local-rust-root=/usr
# TODO
# These flags will enable the system-wide LLVM
SYSTEM_LLVM = --llvm-root=/usr
%:
dh $@ --parallel
# Note: SHELL is not set by dash, but the configure script wants to use it
override_dh_auto_configure:
SHELL=/bin/sh \
./configure \
$(COMMON_FLAGS) \
# TODO
# $(SELF_BOOTSTRAP)
# $(SYSTEM_LLVM)
# Skip test since it fails on rust 0.12
override_dh_auto_test:
true