File: rules

package info (click to toggle)
gsfonts 6.0-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,956 kB
  • ctags: 3
  • sloc: makefile: 27; sh: 12
file content (47 lines) | stat: -rwxr-xr-x 912 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#! /usr/bin/make -f

# Rules file for the gsfonts package
# Written by Torsten Landschoff <torsten@debian.org>
# License: GPL

export DH_COMPAT=2

FONTDIR	= debian/gsfonts/usr/share/fonts/type1/gsfonts
HINTSDIR = debian/gsfonts/etc/defoma/hints

build:
	dh_testdir
	echo "This package does not need to be build"      

clean:
	dh_testdir
	dh_testroot
	dh_clean

binary-indep:
	dh_testdir
	dh_testroot
	dh_clean

	dh_installdirs
	
	# Install the fonts
	install -o root -g root -m 0644 *.pfb *.afm $(FONTDIR)
	# Install the hints file for defoma
	install -o root -g root -m 0644 debian/gsfonts.hints $(HINTSDIR)

	dh_installchangelogs
	dh_installdocs
	dh_compress
	dh_md5sums
	dh_installdeb
	dh_gencontrol
	dh_builddeb

binary-arch:
# There are no architecture-dependent files to be uploaded
# generated by this package. 

binary:		binary-indep binary-arch

.PHONY: binary binary-arch binary-indep clean checkroot