File: rules

package info (click to toggle)
low-memory-monitor 2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 216 kB
  • sloc: ansic: 581; xml: 87; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 309 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

ifneq (,$(filter low-memory-monitor-doc,$(shell dh_listpackages)))
  BUILD_DOCS:=-Dgtk_doc=true
else
  BUILD_DOCS:=-Dgtk_doc=false
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -Dtrigger_kernel_oom=false $(BUILD_DOCS)