File: rules

package info (click to toggle)
gdrae 0.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 84 kB
  • ctags: 8
  • sloc: makefile: 40; perl: 38
file content (48 lines) | stat: -rwxr-xr-x 954 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
#!/usr/bin/make -f
build: build-stamp
build-stamp: 
	dh_testdir
	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp install-stamp
	dh_clean 
	rm -f debian/files
	dh_clean debian/files

install: install-stamp
install-stamp: build-stamp
	dh_testdir
	dh_testroot
	dh_clean
	dh_installdirs
	install -o root -g root -m 0755 gdrae `pwd`/debian/gdrae/usr/bin/gdrae
	install -o root -g root -m 0644 glade/rae.glade `pwd`/debian/gdrae/usr/share/gdrae/rae.glade
	touch install-stamp

binary-indep: build install

binary-arch: build install
	dh_testdir
	dh_testroot
	dh_installchangelogs 
	dh_installmenu
	dh_installdocs
	dh_installman debian/gdrae.1
	dh_link
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb
		
source diff:
	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false


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