File: rules

package info (click to toggle)
gnome-hwp-support 0.1.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 200 kB
  • sloc: ansic: 510; makefile: 84; sh: 28
file content (21 lines) | stat: -rwxr-xr-x 576 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
#!/usr/bin/make -f
#export DH_VERBOSE=1
#export DEB_LDFLAGS_MAINT_PREPEND=-Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autoreconf

override_dh_autoreconf:
	dh_autoreconf
	intltoolize --automake --force --copy

override_dh_install:
	dh_install
	# Disable nautilus properties page; libgsf issue
	rm -r $(CURDIR)/debian/gnome-hwp-support/usr/lib
	# *.la file is not required for a nautilus extension
	find $(CURDIR)/debian/gnome-hwp-support/ -name "*.la" -exec rm \{} \;

override_dh_makeshlibs:
	dh_makeshlibs -n -Xlibhwp-properties-page.so