File: rules

package info (click to toggle)
slv2 0.6.6-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 900 kB
  • ctags: 673
  • sloc: ansic: 5,093; python: 536; makefile: 103; cpp: 38; sh: 8; lisp: 7
file content (25 lines) | stat: -rwxr-xr-x 552 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
#!/usr/bin/make -f
# -*- makefile -*-

WAF = ./waf

%:
	dh $@

override_dh_auto_configure:
	$(WAF) --version && cd .waf*/wafadmin && \
		patch -p1 < $(CURDIR)/debian/patches/02-hppa_parallel.patch
	LINKFLAGS="-ldl" $(WAF) configure   --prefix=/usr  --build-docs

override_dh_auto_build:
	$(WAF)

override_dh_auto_clean:
	$(WAF) --version && cd .waf*/wafadmin && \
		patch -p1 < $(CURDIR)/debian/patches/02-hppa_parallel.patch
	$(WAF) distclean
	rm -f autowaf.pyc
	dh_auto_clean

override_dh_auto_install:
	$(WAF) install --destdir=$(CURDIR)/debian/tmp