Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # See FEATURE AREAS in dpkg-buildflags(1).
4 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
5
6 # See ENVIRONMENT in dpkg-buildflags(1).
7 # Package maintainers to append CFLAGS.
8 export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
9 # Package maintainers to append LDFLAGS.
10 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
11
12 export PREFIX=/usr
13
14 %:
15 dh $@
16
17 debian/esstra.1:
18 help2man -n "Utility for accessing metadata in binary files embedded by the ESSTRA Core" \
19 --no-info "python3 $(CURDIR)/util/esstra" > $@
20
21 override_dh_installman: debian/esstra.1
22 dh_installman
23
24 override_dh_gencontrol:
25 echo "gccFullVersion=$(shell dpkg-query --showformat='$${Version}' --show gcc-15-base)" \
26 >> debian/esstra.substvars
27 dh_gencontrol