File: rules

package info (click to toggle)
rhinote 0.7.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 140 kB
  • ctags: 36
  • sloc: python: 208; makefile: 38
file content (49 lines) | stat: -rwxr-xr-x 936 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
#!/usr/bin/make -f
#export DH_VERBOSE=1

DESTDIR=$(CURDIR)/debian/rhinote

configure: configure-stamp
configure-stamp:
	dh_testdir
	touch configure-stamp

build: build-stamp

build-stamp: configure-stamp 
	dh_testdir
	touch build-stamp

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

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs

binary-indep: build install
	dh_testdir
	dh_testroot
	cp $(CURDIR)/rhinote.py $(DESTDIR)/usr/bin/rhinote
	dh_installchangelogs 
	dh_installdocs
	dh_installmenu
	dh_installman $(CURDIR)/debian/rhinote.1
	cp $(CURDIR)/debian/rhinote.xpm  $(DESTDIR)/usr/share/pixmaps
	cp $(CURDIR)/debian/rhinote.desktop $(DESTDIR)/usr/share/applications
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch: build install

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