File: rules

package info (click to toggle)
germinate 0.24
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 180 kB
  • ctags: 121
  • sloc: python: 1,479; makefile: 33
file content (44 lines) | stat: -rwxr-xr-x 749 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
#! /usr/bin/make -f

tmp = $(CURDIR)/debian/germinate

build:

clean:
	dh_testdir
	dh_testroot
	-find -name \*.pyc | xargs -r rm -f
	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs

	# TODO: use distutils
	dh_install Germinate/*.py usr/lib/germinate/Germinate/
	dh_install Germinate/Archive/*.py usr/lib/germinate/Germinate/Archive/
	install -m755 *.py $(tmp)/usr/lib/germinate/

binary-arch:

binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installdocs
	dh_installman man/*.1
	dh_installchangelogs
	dh_link
	dh_compress
	dh_fixperms
	dh_pysupport
	dh_python
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-arch binary-indep

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