generated from general-packages/pika-pkg-template
29 lines
523 B
Makefile
Executable File
29 lines
523 B
Makefile
Executable File
#! /usr/bin/make -f
|
|
|
|
## See debhelper(7) (uncomment to enable).
|
|
## Output every command that modifies files on the build system.
|
|
export DH_VERBOSE = 1
|
|
export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch)
|
|
|
|
export VENDORED ?= 1
|
|
CLEAN ?= 1
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_build:
|
|
env CARGO_HOME="$$(pwd)/target/cargo" \
|
|
dh_auto_build
|
|
|
|
override_dh_auto_clean:
|
|
ifeq ($(CLEAN),1)
|
|
make clean
|
|
endif
|
|
ifeq ($(VENDORED),1)
|
|
if ! ischroot; then \
|
|
make vendor; \
|
|
fi
|
|
endif
|
|
|
|
override_dh_auto_install:
|
|
dh_auto_install -- prefix=/usr
|