Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4
5 DEST_DIR=$(CURDIR)/debian/tmp/usr
6 ICON_DIR=$(CURDIR)/debian/frozen-bubble-data/usr/share/games/frozen-bubble
7
8 %:
9 dh $@
10
11 override_dh_install:
12 # remove man page with not really interesting doc
13 for i in Net MDKCommon LevelEditor Stuff ; do \
14 $(RM) -v $(DEST_DIR)/share/man/man3/Games::FrozenBubble::$$i.3pm* ; \
15 done
16 # copy icons to correct destinations
17 cd share/icons && \
18 for i in frozen-bubble-icon-*.png; do \
19 size=$${i%.png}; size=$${size#frozen-bubble-icon-}; \
20 dirname=../../debian/tmp/usr/share/icons/hicolor/"$$size"/apps; \
21 mkdir -p $$dirname; \
22 cp "$$i" $$dirname/frozen-bubble.png; \
23 done
24 dh_install
25
26 override_dh_strip_nondeterminism:
27 find $(ICON_DIR) -type f -name '*.png' -print0 | xargs -r0 chmod +w
28 dh_strip_nondeterminism