File: rules

package info (click to toggle)
raul 0.8.0+dfsg0-0.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 1,112 kB
  • ctags: 2,159
  • sloc: python: 11,173; cpp: 4,220; ansic: 298; makefile: 23; sh: 11
file content (35 lines) | stat: -rwxr-xr-x 694 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
#!/usr/bin/make -f
# -*- makefile -*-

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

ifeq ($(shell dpkg-query -s doxygen graphviz 1>/dev/null 2>&1 && echo yes),yes)
EXTRA_OPTS = --docs
endif

WAFOPTS = --prefix=/usr \
	--destdir=$(CURDIR)/debian/tmp \
	--debug \
	--strict \
	--verbose \
	--htmldir=/usr/share/doc/libraul-doc/html \
	$(EXTRA_OPTS)

%:
	dh $@

override_dh_auto_configure:
	./waf configure $(WAFOPTS)

override_dh_auto_build:
	./waf build $(WAFOPTS)

override_dh_auto_install:
	./waf install $(WAFOPTS)
	rm -f $(CURDIR)/debian/tmp/usr/share/doc/libraul-doc/html/jquery.js

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