Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export DH_VERBOSE=1
4 export AUTOHEADER=true
5 export DEB_BUILD_MAINT_OPTIONS=hardening=+pie
6 CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
7 CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
8 export LOGNAME:=buildd
9 export PATH:=/bin:/usr/bin
10
11 %:
12 dh $@
13
14 override_dh_auto_clean:
15 dh_auto_clean
16 rm -rf obj/ lib/32xx/32xx-deplibs.mk x3270/x3270-icon2.png
17 find . \
18 -name Makefile -or \
19 -name Makefile.obj -or \
20 -name Makefile.test -or \
21 -name Makefile.test.obj -or \
22 -name config.log -or \
23 -name config.status -or \
24 -name conf.h -or \
25 -name *.cer -or \
26 -name *.pem -or \
27 -name *.key | xargs -r rm
28
29 override_dh_auto_configure:
30 dh_auto_configure -- \
31 --with-fontdir=/usr/share/fonts/X11/misc \
32 --enable-x3270 \
33 --enable-c3270 \
34 --enable-s3270 \
35 --enable-b3270 \
36 --enable-tcl3270 \
37 --enable-pr3287 \
38 --enable-x3270if \
39 --enable-lib \
40 CCOPTIONS='$(CFLAGS)'
41 (cd Common/Test/tls/ && ./mkca.bash && ./mkcert.bash)
42
43 override_dh_auto_build:
44 dh_auto_build
45 convert x3270/x3270-icon2.xpm x3270/x3270-icon2.png
46
47 override_dh_auto_install:
48 # Presence required for the build system to actually install the
49 # icons and desktop file.
50 mkdir -p \
51 debian/tmp/usr/share/icons/hicolor/ \
52 debian/tmp/usr/share/applications/
53 dh_auto_install --no-parallel -- install.man