File: rules

package info (click to toggle)
webkit2-sharp 2.10.9%2Bgit20160917-1.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 408 kB
  • ctags: 4
  • sloc: makefile: 142; sh: 3
file content (27 lines) | stat: -rwxr-xr-x 734 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
#!/usr/bin/make -f

export DH_ALWAYS_EXCLUDE=.git
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed

CONFIG=--prefix=/usr --libdir=/usr/lib

override_dh_auto_clean:
	dh_auto_clean
	rm -f stamp-h sources/glue/generated.c config.log
	rm -rf doc/en/* sources/generated/*

override_dh_auto_configure:
	dh_auto_configure --parallel -- $(CONFIG)

override_dh_auto_install:
	dh_auto_install --parallel --destdir=$(CURDIR)/debian/tmp

override_dh_makeshlibs:
	dh_makeshlibs -n -plibwebkit2-sharp-4.0-cil
	dh_makeshlibs --remaining-packages

%:
	dh $@ --parallel --with autoreconf --with cli

.PHONY: override_dh_auto_clean override_dh_auto_configure override_dh_auto_install override_dh_makeshlibs