File: rules

package info (click to toggle)
tkfont 1.1-3
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 96 kB
  • ctags: 17
  • sloc: tcl: 327; makefile: 33; sh: 8
file content (44 lines) | stat: -rwxr-xr-x 786 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
#!/usr/bin/make -f

# This script uses debhelper by Joey Hess
export DH_VERBOSE=1
DOC=debian/tmp/usr/doc/tkfont

build:	build-stamp

build-stamp:
	dh_testdir
	# build package
	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp
	dh_clean

binary-indep:	build
	dh_testdir
	dh_testroot
	dh_clean
	dh_installdirs usr/X11R6/bin
	# move files into debian/tmp
	cp tkfont debian/tmp/usr/X11R6/bin
	dh_installdocs
	dh_installmenu
	dh_installchangelogs WhatsNew.txt
	cp Bugs.txt FileMenu.txt FontDirs.txt FontTypes.txt HelpText.txt $(DOC)
	dh_undocumented tkfont.1x
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch:	build

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