File: rules

package info (click to toggle)
doodle 0.7.0-9
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,680 kB
  • ctags: 685
  • sloc: sh: 10,839; ansic: 7,793; java: 152; makefile: 142; sed: 16
file content (24 lines) | stat: -rwxr-xr-x 563 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
#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs -Wl,--as-needed -Wl,-O1
export DEB_BUILD_MAINT_OPTIONS=hardening=+pie,+bindnow

%:
	dh ${@} --with autotools_dev

override_dh_auto_install:
	dh_auto_install

	# Removing useless files
	rm -f debian/tmp/usr/lib/*/*.la

override_dh_install:
	dh_install --fail-missing
	sed -e "s;-D_FORTIFY_SOURCE=2;;" \
		-i $(CURDIR)/debian/libdoodle-dev/usr/lib/*/pkgconfig/doodle.pc

override_dh_installinit:
	dh_installinit --update-rcd-params='defaults 22'

override_dh_strip:
	dh_strip --dbg-package=doodle-dbg