File: rules

package info (click to toggle)
birdfont 2.32.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 13,932 kB
  • sloc: ansic: 2,399; python: 1,112; xml: 187; sh: 78; makefile: 11
file content (20 lines) | stat: -rwxr-xr-x 575 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
#export DH_VERBOSE=1

DEB_HOST_MULTIARCH   ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

# see http://wiki.debian.org/Hardening
export DEB_BUILD_MAINT_OPTIONS := hardening=+all
VALAFLAGS:=$(foreach w,$(CPPFLAGS) $(CFLAGS) $(LDFLAGS),-X $(w))

%:
	dh $@

override_dh_auto_configure:
	$(CURDIR)/configure --cflags="$(CFLAGS) $(CPPFLAGS)" --ldflags="$(LDFLAGS)" --valac-flags="$(VALAFLAGS)"

override_dh_auto_build:
	$(CURDIR)/build.py

override_dh_auto_install:
	$(CURDIR)/install.py --dest=debian/tmp -n /share/man/man1/ -l /lib/$(DEB_HOST_MULTIARCH)