File: rules

package info (click to toggle)
phog 0.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,268 kB
  • sloc: ansic: 14,194; xml: 2,542; sh: 78; python: 16; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 471 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PHOG_DESTDIR = debian/tmp

%:
	dh $@ --builddirectory=_build

override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
	LC_ALL=C.UTF-8 xvfb-run -a meson test -C _build
endif

override_dh_auto_install:
	# dh_auto_install will put files in debian/<PACKAGE>, while dh_install
	# will look in debian/tmp. Make sure both use the same directory.
	dh_auto_install --destdir=$(PHOG_DESTDIR)