File: rules

package info (click to toggle)
pymacs 0.22-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 992 kB
  • ctags: 337
  • sloc: python: 2,519; lisp: 460; makefile: 78; sh: 34
file content (57 lines) | stat: -rwxr-xr-x 1,131 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
50
51
52
53
54
55
56
57
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

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

build: DH_OPTIONS=
build: build-stamp
build-stamp: 
	dh_testdir
	python setup.py -q build
	touch build-stamp

clean: 
	dh_testdir
	dh_testroot
	rm -f build-stamp configure-stamp
	rm -rf build
	rm -rf debian/pymacs/
	find . -name "*.pyc" | xargs rm -f
	rm -f changelog.gz
	dh_clean

install: DH_OPTIONS=
install: build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs
	python setup.py -q install --no-compile --prefix=debian/pymacs/usr 


# Build architecture-independent files here.
binary-indep: build install
	dh_testdir -i 
	dh_testroot -i
	dh_install -i
	dh_installemacsen -i
	gzip -9 -c ChangeLog > changelog.gz
	dh_installdocs -A README ChangeLog-rebox THANKS THANKS-rebox TODO changelog.gz 
	dh_installchangelogs -i
	dh_pycentral -i
	dh_python -i
	dh_link -i
	dh_compress -i
	dh_fixperms -i
	dh_installdeb -i
	dh_gencontrol -i
	dh_md5sums -i
	dh_builddeb -i

binary-arch:

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