/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz
0.8.60 by Szilveszter Farkas (Phanatic)
Huge cleanup before release; added debian directory.
1
#!/usr/bin/make -f
2
# -*- makefile -*-
3
# Sample debian/rules that uses debhelper.
4
#
5
# This file was originally written by Joey Hess and Craig Small.
6
# As a special exception, when this file is copied by dh-make into a
7
# dh-make output file, you may use that output file without restriction.
8
# This special exception was added by Craig Small in version 0.37 of dh-make.
9
#
10
# Modified to make a template file for a multi-binary package with separated
11
# build-arch and build-indep targets  by Bill Allombert 2001
12
13
# Uncomment this to turn on verbose mode.
14
#export DH_VERBOSE=1
15
16
# This has to be exported to make some magic below work.
17
export DH_OPTIONS
18
19
20
build: build-stamp
21
22
build-stamp:
23
	dh_testdir
24
	python setup.py build
25
	touch build-stamp
26
27
clean:
28
	dh_testdir
29
	dh_testroot
30
	rm -f build-stamp
31
32
	rm -rf build
33
	-find . -name '*.py[co]' | xargs rm -f
34
35
	dh_clean 
36
37
install:
38
	dh_testdir
39
	dh_testroot
40
	dh_clean -k -s 
41
	dh_installdirs -s
42
43
	python setup.py install --root=$(CURDIR)/debian/olive
44
45
	dh_install -s
46
47
binary-indep: build install
48
	dh_testdir
49
	dh_testroot
50
	dh_installchangelogs ChangeLog
51
	dh_installdocs
52
	dh_installman $(CURDIR)/debian/olive-gtk.1
53
	dh_pycentral
54
	dh_python
55
	dh_compress -X.py
56
	dh_fixperms
57
	dh_installdeb
58
	dh_gencontrol
59
	dh_md5sums
60
	dh_builddeb
61
62
# Build architecture dependant packages using the common target.
63
binary-arch: build install
64
65
binary: binary-indep binary-arch
66
.PHONY: build clean binary-indep binary-arch binary install configure