File: rules

package info (click to toggle)
oregano 0.84.41+dfsg.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 11,856 kB
  • sloc: ansic: 22,476; python: 14,159; xml: 1,184; awk: 386; sh: 57; perl: 20; makefile: 17
file content (30 lines) | stat: -rwxr-xr-x 642 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
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#export DH_OPTIONS=-v

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export DEB_BUILD_MAINT_OPTIONS = hardening=+all


LDFLAGS += -lcairo

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	./waf configure --debug --prefix=/usr

override_dh_auto_build:
	./waf build --debug --prefix=/usr

override_dh_auto_install:
	./waf install --destdir=debian/oregano --prefix=/usr
	$(RM) debian/oregano/usr/share/glib-2.0/schemas/gschemas.compiled

override_dh_clean:
	dh_clean
	find waflib/ -name "*.pyc" -delete
	$(RM) .lock-waf_linux2_build
	$(RM) -r build