File: rules

package info (click to toggle)
ocrodjvu 0.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,780 kB
  • ctags: 538
  • sloc: python: 3,745; xml: 965; sh: 59; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 467 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
#!/usr/bin/make -f
#export DH_VERBOSE=1
#export DEB_BUILD_OPTIONS=nocheck

%:
	dh $@ --with python2

override_dh_auto_install:

override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
	mkdir -p debian/tmp/locale/
	localedef -f UTF-8 -i en_US ./debian/tmp/locale/en_US.UTF-8/
	export LOCPATH=$(CURDIR)/debian/tmp/locale/ && \
	cd tests && \
	set -e -x; \
	for python in $(shell pyversions -r); do \
		$$python /usr/bin/nosetests --verbose; \
	done
endif