1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DEB_BUILD_MAINT_OPTIONS=reproducible=-timeless
LD_LIBRARY_PATH += debian/libexpeyes1/usr/lib
export DEB_BUILD_HARDENING=1
export QT_SELECT := 5
%:
dh $@ --with python3
HOME = $(CURDIR)/debian/build
override_dh_auto_build-arch:
mkdir $(CURDIR)/debian/build
make all HOME=$(HOME)
rm -rf $(CURDIR)/debian/build
override_dh_auto_build-indep:
make all_indep
override_dh_auto_clean:
dh_auto_clean
rm -rf $(HOME)
DocDir = $(CURDIR)/debian/eyes17/usr/share/expeyes/doc
DocDirSource = $(CURDIR)/ExpEYES17/UserManual
override_dh_install:
make install_indep DESTDIR=$(CURDIR)/debian/tmp
dh_install
make -C po install DESTDIR=$(CURDIR)/debian/expeyes
make -C microhope/po install DESTDIR=$(CURDIR)/debian/microhope
# prevents lintian error about PYCACHE
find $(CURDIR)/debian/ -type d -name __pycache__| xargs rm -rf;
|