Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
8
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11
12 DEB_BUILD_MAINT_OPTIONS=reproducible=-timeless
13
14 LD_LIBRARY_PATH += debian/libexpeyes1/usr/lib
15 export DEB_BUILD_HARDENING=1
16 #export CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2"
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 # do not keep the .la file
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 # the clean process compiles a few Python scripts
38 find . -name __pycache__ | xargs rm -rf
39 rm -rf $(BUILD_DIR)
40 # remove broken symlinks which can be in the source
41 find eyes17/helpFiles -xtype l | xargs rm -f
42 find eyesjunior/helpFiles -xtype l | xargs rm -f
43 # remove index.html files which may be generated
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 # prevents lintian error about PYCACHE
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