File: rules

package info (click to toggle)
glyr 1.0.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 1,696 kB
  • sloc: ansic: 13,082; python: 1,052; ruby: 75; makefile: 15
file content (21 lines) | stat: -rwxr-xr-x 516 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 DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DINSTALL_LIB_DIR=lib/$(DEB_BUILD_MULTIARCH)

override_dh_auto_build:
	dh_auto_build
ifeq ($(shell dpkg-query -s gtk-doc-tools 1>/dev/null 2>&1 && echo yes),yes)
	cd doc ; ruby build_doc.rb
endif

override_dh_compress:
	dh_compress -Xasync_queue.c -Xexample.c

override_dh_strip:
	dh_strip --dbgsym-migration='libglyr1-dbg (<< 1.0.10-1~)'