File: rules

package info (click to toggle)
cia-clients 20100528
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 196 kB
  • ctags: 137
  • sloc: python: 755; perl: 585; sh: 175; makefile: 27
file content (32 lines) | stat: -rwxr-xr-x 794 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

build-arch:
build build-indep: build-stamp
build-stamp:
	cd bzr-cia && python setup.py build
	touch $@

binary-arch:
binary binary-indep: build-stamp
	dh_testroot
	dh_clean -k
	dh_install -Xindex.html -Xhgcia.py scripts/* usr/share/cia-clients
	dh_install scripts/hgcia.py usr/lib/python2.4/site-packages
	dh_installdirs usr/share/lintian/overrides
	install -m644 debian/lintian debian/cia-clients/usr/share/lintian/overrides/cia-clients
	dh_installchangelogs
	dh_installdocs
	cd bzr-cia && python setup.py install --root $(CURDIR)/debian/cia-clients
	dh_pycentral
	dh_compress
	dh_installdeb
	dh_fixperms
	dh_gencontrol
	dh_md5sums
	dh_builddeb

clean:
	rm -rf bzr-cia/build
	dh_clean build-stamp

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