File: rules

package info (click to toggle)
pypar2 1.4-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 388 kB
  • ctags: 111
  • sloc: python: 481; makefile: 118
file content (42 lines) | stat: -rwxr-xr-x 787 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
#!/usr/bin/make -f

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

build:
build-indep:
build-arch:

clean:
	dh_testdir
	dh_testroot
	$(MAKE) clean
	dh_clean build-stamp

install:
	dh_testdir
	dh_testroot
	dh_installdirs
	$(MAKE) DESTDIR=$(CURDIR)/debian/pypar2 prefix=/usr install

binary-indep: install
	dh_testdir
	dh_testroot
	dh_installchangelogs -i doc/whatsnew.txt
	dh_installdocs -i
	dh_installmenu -i
	dh_link usr/share/pypar2/src/main.py /usr/bin/pypar2
	dh_compress -i
	dh_fixperms -i
	chmod +x debian/pypar2/usr/share/pypar2/src/main.py
	dh_python2 -i
	dh_installdeb -i
	dh_gencontrol -i
	dh_md5sums -i
	dh_builddeb -i

binary-arch: install

binary: binary-indep binary-arch

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