File: rules

package info (click to toggle)
fontmake 3.11.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,980 kB
  • sloc: python: 3,395; sh: 39; makefile: 14; xml: 9
file content (20 lines) | stat: -rwxr-xr-x 488 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
#!/usr/bin/make -f

export LC_ALL=C.UTF-8

%:
	dh $@ --buildsystem=pybuild

execute_after_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

execute_after_dh_auto_clean:
	rm -fv Lib/fontmake/_version.py

execute_after_dh_auto_test:
	rm -rfv $(CURDIR)/.pybuild/cpython3_*/build/instance_ttf
	rm -rfv $(CURDIR)/.pybuild/cpython3_*/build/master_ttf