File: rules

package info (click to toggle)
pdf2djvu 0.9.18.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,248 kB
  • sloc: cpp: 6,873; sh: 4,327; xml: 4,193; python: 1,104; makefile: 715; perl: 17
file content (20 lines) | stat: -rwxr-xr-x 601 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
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CXXFLAGS_MAINT_APPEND= -std=c++20

%:
	dh $@

override_dh_auto_clean:
	! [ -f config.status ] || dh_auto_clean

override_dh_auto_test:
	echo "skip test, python2-based"
#ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
#	mkdir -p debian/tmp/locales
#	localedef -f ISO-8859-1 -i en_US ./debian/tmp/locales/en_US.ISO8859-1/
#	# if build user is member of staff there are several tests failures due to a flaw in fontconfig, see #897251, #909728
#	LOCPATH=$(CURDIR)/debian/tmp/locales $(MAKE) -j1 test
#endif