on de035fa help sign in
unity8/debian/rules
36 lines 982 B history raw
1#!/usr/bin/make -f
2# -*- makefile -*-
4# Uncomment this to turn on verbose mode.
5#export DH_VERBOSE=1
6export DPKG_GENSYMBOLS_CHECK_LEVEL=4
7export NO_PNG_PKG_MANGLE=1
9%:
10 dh $@ --parallel --fail-missing --with python2,python3
12override_dh_auto_clean:
13 dh_auto_clean
14 rm -rf builddir
16override_dh_auto_configure:
17 # Debian defines CMAKE_INSTALL_LOCALSTATEDIR as /usr/var, which is wrong.
18 # So until Debian bug 719148 is fixed, do it ourselves.
19 dh_auto_configure -- -DCMAKE_INSTALL_LOCALSTATEDIR="/var"
21override_dh_auto_build:
22 # doc is not a default target
23 dh_auto_build -- all doc
25override_dh_install:
26 # install autopilot tests
27 cd tests/autopilot; \
28 set -ex; for python in $(shell pyversions -r) $(shell py3versions -r); do \
29 $$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
30 done; \
31 cd $(CURDIR)
32 dh_install -X'*.pyc' --fail-missing
34# use private lib directories
35override_dh_makeshlibs:
36 dh_makeshlibs -Nunity8-private -Nunity8-fake-env