File: rules

package info (click to toggle)
flpsed 0.7.3-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 756 kB
  • sloc: cpp: 2,517; sh: 1,230; ansic: 56; makefile: 35
file content (18 lines) | stat: -rwxr-xr-x 434 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all future=+lfs

%:
	dh $@

ICON_SIZES := 16 32 64 128 256 512

override_dh_auto_install-indep: flpsed.svg
	dh_auto_install -i
	set -e; \
	for S in $(ICON_SIZES); do \
		D="debian/tmp/usr/share/icons/hicolor/$${S}x$${S}/apps"; \
		install -d "$${D}"; \
		inkscape --export-type=png --export-filename="$${D}/flpsed.png" -w $${S} -h $${S} $<; \
	done