File: rules

package info (click to toggle)
webkitgtk-sharp3 2.0.0%2Bgit20151221-3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 900 kB
  • ctags: 4
  • sloc: makefile: 106; sh: 3
file content (27 lines) | stat: -rwxr-xr-x 729 bytes parent folder | download | duplicates (2)
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 -plibwebkitgtk3.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