File: rules

package info (click to toggle)
ladish 1+dfsg0-5.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 3,996 kB
  • ctags: 4,600
  • sloc: ansic: 36,414; python: 11,237; cpp: 705; makefile: 22; ruby: 20; sh: 17
file content (31 lines) | stat: -rwxr-xr-x 590 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
28
29
30
31
#!/usr/bin/make -f

WAF = ./waf

%:
	dh $@ --with python2

override_dh_auto_configure:
	$(WAF) configure --prefix=/usr \
		--enable-liblash \
		--debug

override_dh_auto_build:
	$(WAF)

override_dh_auto_clean:
	$(WAF) clean || true
	find waflib -name "*.pyc" -delete
	dh_auto_clean

override_dh_auto_install:
	$(WAF) install --destdir=$(CURDIR)/debian/tmp
	cd $(CURDIR)/debian/tmp/usr/share/ladish && \
		rm AUTHORS COPYING NEWS README

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_strip:
	dh_strip -pladish --dbg-package=ladish-dbg
	dh_strip --remaining-packages