File: rules

package info (click to toggle)
thunar-dropbox-plugin 0.2.1%2Bdfsg1-5
  • links: PTS, VCS
  • area: contrib
  • in suites: buster
  • size: 684 kB
  • sloc: python: 11,406; ansic: 339; sh: 23; makefile: 17
file content (30 lines) | stat: -rwxr-xr-x 655 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
# -*- makefile -*-

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

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	./waf configure --nocache --prefix=/usr --libdir=/usr/lib/$(DEB_HOST_MULTIARCH)/

override_dh_auto_build:
	./waf build --nocache --verbose

override_dh_auto_install:
	./waf install --nocache --destdir=debian/thunar-dropbox-plugin/

override_dh_auto_clean:
	./waf distclean --nocache

override_dh_clean:
	dh_clean
	find wafadmin -name "*.pyc" -delete