File: rules

package info (click to toggle)
fonts-monoid 0.61-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 38,196 kB
  • sloc: python: 142; sh: 41; makefile: 16
file content (23 lines) | stat: -rwxr-xr-x 606 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
22
23
#!/usr/bin/make -f

%:
	dh "$@"

override_dh_auto_build-indep:
	for font in $(wildcard Source/*.sfdir) $(wildcard Monoisome/*.sfdir) ; \
	do \
		python Scripts/build.py 1 0 $${font} ; \
	done

override_dh_clean:
	$(RM) -rf _release
	$(RM) -f Scripts/fontbuilder.pyc
	dh_clean

override_dh_install:
	# Remove superfluous variants
	$(RM) -f _release/*-0* _release/*-1* _release/*-l* _release/*-Dollar* \
	         _release/*-NoCalt* _release/*Large* _release/*Small*
	# Loose and tight variants are installed into individual packages
	dh_install -p fonts-monoid -X Loose -X Tight
	dh_install -N fonts-monoid