File: rules

package info (click to toggle)
etktab 3.2-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge
  • size: 364 kB
  • ctags: 1
  • sloc: tcl: 4,103; makefile: 31; sh: 15
file content (44 lines) | stat: -rwxr-xr-x 947 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
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

#export DH_VERBOSE=1

build: ;

clean:
	dh_testdir
	dh_testroot
	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs
	cp eTktab debian/etktab/usr/bin/eTktab
	cp fileconvert-v1-to-v2 debian/etktab/usr/bin/fileconvert-v1-to-v2
	install -m 0644 eTktab.xpm debian/etktab/usr/share/pixmaps/eTktab.xpm
	cp addons/* debian/etktab/usr/share/etktab/

# Build architecture-independent files here.
binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installdocs
	dh_installmenu
	dh_installman eTktab.1 fileconvert-v1-to-v2.1
	dh_installchangelogs CHANGES.html
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

# Build architecture-dependent files here.
binary-arch: build install

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