Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # See debhelper(7) (uncomment to enable).
4 # Output every command that modifies files on the build system.
5 #export DH_VERBOSE = 1
6
7 # See FEATURE AREAS in dpkg-buildflags(1).
8 #export DEB_BUILD_MAINT_OPTIONS = hardening=+all
9
10 # See ENVIRONMENT in dpkg-buildflags(1).
11 # Package maintainers to append CFLAGS.
12 #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
13 # Package maintainers to append LDFLAGS.
14 #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
15
16 %:
17 dh $@ --with linktree
18
19 override_dh_auto_build: bLWWj4r.png DMdnDYq.png
20 dh_auto_build
21 find lang -name strings.po -exec python3 tools/po2js.py '{}' ';'
22
23 bLWWj4r.png: debian/privacy-breach-images/bLWWj4r_replacement.svg
24 convert $< -resize '563x167!' $@
25
26 DMdnDYq.png: debian/privacy-breach-images/DMdnDYq_replacement.svg
27 convert $< -resize '563x167!' $@
28
29 override_dh_auto_clean:
30 dh_auto_clean
31 find lang -name strings.js -exec rm '{}' ';'