File: rules

package info (click to toggle)
nototools 0~20170925-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 9,452 kB
  • sloc: python: 23,246; xml: 597; sh: 204; makefile: 83
file content (20 lines) | stat: -rwxr-xr-x 672 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export PYBUILD_NAME=nototools

%:
	dh $@ --with python2 --buildsystem=pybuild

# Keep one script needed for fonts-noto-color-emoji
# but rename it to drop the .py extension (Debian Policy ยง10.4)
# Beware installing other scripts to PATH because some like scale
# are too generic.
# create_image needs python-cairo & python-gtk2
# /usr/bin/notodiff requires python-booleanoperations
override_dh_install:
	mv debian/python-nototools/usr/bin/add_vs_cmap.py \
	   debian/python-nototools/usr/bin/add_vs_cmap
	rm debian/python-nototools/usr/bin/*.py
	rm debian/python-nototools/usr/bin/notocoverage
	rm debian/python-nototools/usr/bin/notodiff
	dh_install