Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONSscip-debian debian libopenaptx 0.2.0-6 libopenaptx/rules/DEB_BUILD_MAINT_OPTIONS. = hardening=+all
4 include /usr/share/dpkg/pkg-info.mk
5 # Increase optimisation level for better performance
6 export DEB_CFLAGS_MAINT_APPENDscip-debian debian libopenaptx 0.2.0-6 libopenaptx/rules/DEB_CFLAGS_MAINT_APPEND. = -O3
7
8 %scip-debian debian libopenaptx 0.2.0-6 libopenaptx/rules/`%`().:
9 dh $@
10
11 override_dh_auto_buildscip-debian debian libopenaptx 0.2.0-6 libopenaptx/rules/override_dh_auto_build().:
12 # Enforce Debian's CFLAGS and LDFLAGS in build, as there's no configure pass
13 dh_auto_buildscip-debian debian debhelper . dh_auto_build(). -- \
14 CFLAGS="$(shell dpkg-buildflags --get CFLAGS)" \
15 LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)" \
16
17 override_dh_auto_installscip-debian debian libopenaptx 0.2.0-6 libopenaptx/rules/override_dh_auto_install().:
18 # Pass PREFIX and LIBDIR that are not taken correctly from Makefile
19 dh_auto_installscip-debian debian debhelper . dh_auto_install(). -- \
20 PREFIX=/usr \
21 LIBDIR=lib/${DEB_HOST_MULTIARCHscip-debian debian libopenaptx 0.2.0-6 libopenaptx/rules/DEB_HOST_MULTIARCH.}
22
23 MANPAGESscip-debian debian libopenaptx 0.2.0-6 libopenaptx/rules/MANPAGES.=debian/openaptxenc.1 debian/openaptxdec.1
24
25 override_dh_installmanscip-debian debian libopenaptx 0.2.0-6 libopenaptx/rules/override_dh_installman().: ${MANPAGESscip-debian debian libopenaptx 0.2.0-6 libopenaptx/rules/MANPAGES.}
26 # Make sure the MANPAGES are installed
27 dh_installmanscip-debian debian debhelper . dh_installman(). -popenaptx-utils $^
28
29 debian/%.1scip-debian debian libopenaptx 0.2.0-6 libopenaptx/rules/`debian/%.1`().:
30 # Generate a manpage from the executable
31 PATH=.:$$PATH \
32 LD_PRELOAD=./libopenaptx.so.0 \
33 help2man \
34 --section=1 \
35 --version-string=${DEB_VERSION_UPSTREAMscip-debian debian libopenaptx 0.2.0-6 libopenaptx/rules/DEB_VERSION_UPSTREAM.} \
36 --source="Debian (help2man)" \
37 --name="aptX $(patsubst openaptx%,%,$*)oder utility ${DEB_VERSION_UPSTREAMscip-debian debian libopenaptx 0.2.0-6 libopenaptx/rules/DEB_VERSION_UPSTREAM.} (using libopenaptx ${DEB_VERSION_UPSTREAMscip-debian debian libopenaptx 0.2.0-6 libopenaptx/rules/DEB_VERSION_UPSTREAM.})" \
38 --no-info \
39 --no-discard-stderr \
40 -o$@ $*
41
42 execute_after_dh_cleanscip-debian debian libopenaptx 0.2.0-6 libopenaptx/rules/execute_after_dh_clean().:
43 rm -f ${MANPAGESscip-debian debian libopenaptx 0.2.0-6 libopenaptx/rules/MANPAGES.}