File: rules

package info (click to toggle)
flowcanvas 0.7.1%2Bdfsg0-0.2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 912 kB
  • sloc: python: 11,117; cpp: 3,414; makefile: 17
file content (27 lines) | stat: -rwxr-xr-x 561 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@

override_dh_auto_configure:
	./waf configure --prefix /usr

override_dh_auto_build:
	dh build --before dh_auto_build
	./waf build
	dh build --after dh_auto_build

override_dh_auto_install:
	dh install --before dh_auto_install
	./waf install --destdir $(CURDIR)/debian/tmp
	dh install --after dh_auto_install

override_dh_auto_clean:
	dh clean --before dh_auto_clean
	./waf clean || true
	find -name "*.pyc" -delete
	dh clean --after dh_auto_clean