File: rules

package info (click to toggle)
fonts-noto-color-emoji 0~20200916-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 135,380 kB
  • sloc: python: 3,392; ansic: 356; makefile: 165; sh: 38
file content (21 lines) | stat: -rwxr-xr-x 428 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	# The build requires a VIRTUAL_ENV variable 🤷
	# sequence check isn't working
	dh_auto_build -- \
		PNGQUANT=/usr/bin/pngquant \
		VIRTUAL_ENV=true \
		BYPASS_SEQUENCE_CHECK=true

override_dh_install:
	dh_install NotoColorEmoji.ttf /usr/share/fonts/truetype/noto

override_dh_clean:
	dh_clean
	rm -f *pyc
	rm -rf __pycache__
	rm -rf third_party/color_emoji/__pycache__