File: rules

package info (click to toggle)
gap-tomlib 1r1p2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 13,772 kB
  • ctags: 1
  • sloc: makefile: 32
file content (47 lines) | stat: -rwxr-xr-x 1,102 bytes parent folder | download | duplicates (3)
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
# debian/rule for gap-tomlib
# GNU copyright 2003 by Bill Allombert
# Based on a sample by
# GNU copyright 1997 by Joey Hess.

# Uncomment this to turn on verbose mode. 
#export DH_VERBOSE=1

build-arch: 
build-indep:
build: build-arch build-indep

clean:
	dh_testdir
	dh_testroot
	rm -f build-arch-stamp build-indep-stamp configure-stamp
	dh_clean

install: DH_OPTIONS=
install: build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs
	tar zxf tomlib.tar.gz -C debian/gap-table-of-marks/usr/share/gap/pkg
	chmod u+w -R debian/gap-table-of-marks/usr/share
	gzip -r --best debian/gap-table-of-marks/usr/share/gap/pkg/tomlib/data/

# Build architecture-independent files here.
# Pass -i to all debhelper commands in this target to reduce clutter.
binary-indep: build install
	dh_testdir -i
	dh_testroot -i
	dh_installdocs -i 
	dh_installchangelogs  -i
	dh_link -i
	dh_compress -i
	dh_fixperms -i
	dh_installdeb -i
	dh_gencontrol -i
	dh_md5sums -i
	dh_builddeb -i

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