File: rules

package info (click to toggle)
birdfont 2.33.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,688 kB
  • sloc: ansic: 2,399; python: 1,111; xml: 187; sh: 78; makefile: 13
file content (23 lines) | stat: -rwxr-xr-x 659 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
#!/usr/bin/make -f
#export DH_VERBOSE=1

# see http://wiki.debian.org/Hardening
export DEB_BUILD_MAINT_OPTIONS := hardening=+all

include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/buildtools.mk
include /usr/share/dpkg/default.mk

VALAFLAGS:=$(foreach w,$(CPPFLAGS) $(CFLAGS) $(LDFLAGS),-X $(w))

%:
	dh $@

override_dh_auto_configure:
	$(CURDIR)/configure --cc="$(CC)" --pkg-config="$(PKG_CONFIG)" --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)