File: rules

package info (click to toggle)
babygimp 0.41-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 584 kB
  • ctags: 236
  • sloc: perl: 5,872; makefile: 48
file content (59 lines) | stat: -rwxr-xr-x 1,184 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
48
49
50
51
52
53
54
55
56
57
58
59
#!/usr/bin/make -f

export DH_COMPAT := 3

arrange: arrange-stamp
arrange-stamp: install
	dh_testdir
	touch arrange-stamp

binary: binary-stamp
binary-stamp: binary-indep binary-arch
	dh_testdir
	touch binary-stamp

binary-arch: binary-arch-stamp
binary-arch-stamp: arrange
	dh_testdir
	touch binary-arch-stamp

binary-indep: binary-indep-stamp
binary-indep-stamp: arrange
	dh_testdir
	dh_testroot
	dh_installdocs --exclude=CVS README.babygimp doc/ sample_plugins/
	dh_installchangelogs changelog.html
	dh_installman debian/babygimp.1
	dh_fixperms
	dh_installdeb
	dh_perl
	dh_link
	dh_compress
	dh_gencontrol
	dh_md5sums
	dh_builddeb
	touch binary-indep-stamp

build: build-stamp
build-stamp: config
	dh_testdir
	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	dh_clean arrange-stamp binary-stamp binary-arch-stamp binary-indep-stamp build-stamp config-stamp install-stamp debian/tmp

config: config-stamp
config-stamp:
	dh_testdir
	touch config-stamp

install: install-stamp
install-stamp: build
	dh_testdir
	mkdir -p debian/babygimp/usr/bin
	cp -a babygimp debian/babygimp/usr/bin
	touch install-stamp

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