File: rules

package info (click to toggle)
fontmake 2.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,240 kB
  • sloc: python: 2,992; sh: 47; makefile: 16
file content (22 lines) | stat: -rwxr-xr-x 473 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export LC_ALL=C.UTF-8

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

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH="$(CURDIR)/Lib" help2man \
		   -n "compile fonts from UFO or Glyphs to OTF/TTF" \
		   --no-info \
		   "python3 $(CURDIR)/Lib/fontmake" \
		   > debian/fontmake.1

override_dh_auto_clean:
	-dh_auto_clean
	-rm Lib/fontmake/_version.py

override_dh_auto_test:
	dh_auto_test
	rm -rf $(CURDIR)/.pybuild/cpython3_*/build/instance_ttf