Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export DH_OPTIONSscip-debian debian apertium-apy 0.13.0-2 apertium-apy/rules/DH_OPTIONS.
4 export LC_ALLscip-debian debian apertium-apy 0.13.0-2 apertium-apy/rules/LC_ALL.=C.UTF-8
5
6 export PYBUILD_NAMEscip-debian debian apertium-apy 0.13.0-2 apertium-apy/rules/PYBUILD_NAME.=apertium-apy
7 export "DEB_BUILD_MAINT_OPTIONS=hardening=+all optimize=+lto reproducible=+fixfilepath"
8 DPKG_EXPORT_BUILDFLAGSscip-debian debian apertium-apy 0.13.0-2 apertium-apy/rules/DPKG_EXPORT_BUILDFLAGS. = 1
9 include /usr/share/dpkg/buildflags.mk
10
11 %scip-debian debian apertium-apy 0.13.0-2 apertium-apy/rules/`%`().:
12 dh $@ --buildsystem=pybuild
13
14 override_dh_auto_testscip-debian debian apertium-apy 0.13.0-2 apertium-apy/rules/override_dh_auto_test().:
15 #Disable broken tests as of now
16 # mkdir $(CURDIR)/testbin && \
17 # ln -s /usr/bin/python3-coverage $(CURDIR)/testbin/coverage && \
18 # export PATH="$(PATH):$(CURDIR)/testbin" && \
19 # dh_auto_test
20
21 execute_after_dh_auto_installscip-debian debian apertium-apy 0.13.0-2 apertium-apy/rules/execute_after_dh_auto_install().:
22 #Remove extra license file
23 rm -f $(CURDIRscip-debian debian apertium-apy 0.13.0-2 apertium-apy/rules/CURDIR.)/debian/apertium-apy/usr/share/apertium-apy/COPYING
24 #Remove docs outside usr/share/doc and install them properly
25 rm -f $(CURDIRscip-debian debian apertium-apy 0.13.0-2 apertium-apy/rules/CURDIR.)/debian/apertium-apy/usr/share/apertium-apy/README.md
26 rm -f $(CURDIRscip-debian debian apertium-apy 0.13.0-2 apertium-apy/rules/CURDIR.)/debian/apertium-apy/usr/share/apertium-apy/tools/systemd/README
27
28 execute_after_dh_installdocsscip-debian debian apertium-apy 0.13.0-2 apertium-apy/rules/execute_after_dh_installdocs().:
29 #Rename properly
30 mv $(CURDIRscip-debian debian apertium-apy 0.13.0-2 apertium-apy/rules/CURDIR.)/debian/apertium-apy/usr/share/doc/apertium-apy/README \
31 $(CURDIRscip-debian debian apertium-apy 0.13.0-2 apertium-apy/rules/CURDIR.)/debian/apertium-apy/usr/share/doc/apertium-apy/README.systemd
32
33 override_dh_installmanscip-debian debian apertium-apy 0.13.0-2 apertium-apy/rules/override_dh_installman().:
34 dh_installmanscip-debian debian debhelper . dh_installman(). apertium-apy.1