File: rules

package info (click to toggle)
gravit 0.5.1%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 10,484 kB
  • sloc: ansic: 6,841; makefile: 71; sh: 43
file content (25 lines) | stat: -rwxr-xr-x 456 bytes parent folder | download | duplicates (2)
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

#
# this is what is happening in ./autogen.sh
#

export ACLOCAL=aclocal -I acinclude
export AUTOMAKE=automake --foreign --include-deps --add-missing --copy

DEB_GRAVIT_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)

ifeq ($(DEB_GRAVIT_CPU),amd64)
    CUSTOM_CONFIG=-with-sse
else
    CUSTOM_CONFIG=
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CUSTOM_CONFIG)

override_dh_install:
	dh_install -XVera.ttf