File: rules

package info (click to toggle)
libmypaint 1.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 5,904 kB
  • sloc: ansic: 5,953; sh: 4,418; makefile: 286; python: 210
file content (25 lines) | stat: -rwxr-xr-x 614 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs

ifeq ($(filter nodoc, $(DEB_BUILD_PROFILES)),)
	ENABLE_DOCS = --enable-docs
else
	ENABLE_DOCS = --disable-docs
endif

%:
	dh $@ --with gir

override_dh_auto_configure:
	dh_auto_configure -- $(ENABLE_DOCS) --enable-openmp

execute_before_dh_install:
	find debian/tmp -name '*.la' -print -delete
	find debian/tmp -name jquery.js -print -delete
	find debian/tmp -name underscore.js -print -delete

# Symbols need to be carefully reviewed for this library.
override_dh_makeshlibs:
	dh_makeshlibs -- -c4