File: rules

package info (click to toggle)
newsboat 2.13-1+deb10u1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 3,996 kB
  • sloc: cpp: 52,406; ruby: 277; makefile: 263; sh: 228; xml: 207; perl: 37; ansic: 7
file content (26 lines) | stat: -rwxr-xr-x 572 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
24
25
26
#!/usr/bin/make -f
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

CFLAGS += $(CPPFLAGS)
CXXFLAGS += $(CPPFLAGS)

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- prefix=/usr all
	make doc

override_dh_auto_install:
	dh_auto_install -- prefix=/usr
	install -m644 debian/config.default $(CURDIR)/debian/newsboat/etc/newsboat/config

override_dh_auto_test:
	dh_auto_test
ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
	cd test && LC_ALL=C.UTF-8 TERM=dumb ./test --order rand
endif