| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
DEB_BUILD_MAINT_OPTIONS=reproducible=-timeless |
| 13 |
|
| 14 |
LD_LIBRARY_PATH += debian/libexpeyes1/usr/lib |
| 15 |
export DEB_BUILD_HARDENING=1 |
| 16 |
|
| 17 |
|
| 18 |
export QT_SELECT := 5 |
| 19 |
|
| 20 |
%: |
| 21 |
dh $@ --with python3 |
| 22 |
|
| 23 |
BUILD_DIR = $(CURDIR)/debian/build |
| 24 |
override_dh_auto_build-arch: |
| 25 |
mkdir $(CURDIR)/debian/build |
| 26 |
$(MAKE) all_arch HOME=$(BUILD_DIR) |
| 27 |
|
| 28 |
rm -f debian/tmp/usr/lib/libej.la |
| 29 |
|
| 30 |
override_dh_auto_build-indep: |
| 31 |
$(MAKE) all_indep |
| 32 |
cd eyes17/helpFiles; $(MAKE) fixTheLinks; $(MAKE) userManual |
| 33 |
|
| 34 |
override_dh_auto_clean: |
| 35 |
dh_auto_clean |
| 36 |
rm -rf expeyes.egg-info/ |
| 37 |
|
| 38 |
find . -name __pycache__ | xargs rm -rf |
| 39 |
rm -rf $(BUILD_DIR) |
| 40 |
|
| 41 |
find eyes17/helpFiles -xtype l | xargs rm -f |
| 42 |
find eyesjunior/helpFiles -xtype l | xargs rm -f |
| 43 |
|
| 44 |
rm -f eyesjunior/helpFiles/??/index.html |
| 45 |
|
| 46 |
override_dh_auto_install-indep: |
| 47 |
make install_indep DESTDIR=$(CURDIR)/debian/tmp |
| 48 |
dh_auto_install -i |
| 49 |
make -C po install DESTDIR=$(CURDIR)/debian/expeyes |
| 50 |
make -C microhope/po install DESTDIR=$(CURDIR)/debian/microhope |
| 51 |
|
| 52 |
find $(CURDIR)/debian/ -type d -name __pycache__| xargs rm -rf; |
| 53 |
|
| 54 |
override_dh_auto_install-arch: |
| 55 |
make install_arch DESTDIR=$(CURDIR)/debian/tmp |
| 56 |
dh_auto_install -a |