File: rules

package info (click to toggle)
pdf2djvu 0.9.18.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,260 kB
  • sloc: cpp: 6,873; sh: 4,327; xml: 4,193; python: 1,104; makefile: 714; perl: 17
file content (18 lines) | stat: -rwxr-xr-x 555 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	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