File: rules

package info (click to toggle)
variety 0.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,152 kB
  • sloc: python: 8,642; sh: 165; xml: 98; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 446 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export PYBUILD_NAME=variety

%:
ifneq ($(shell dh -l | grep -xF translations),)
	dh $@ --with python3,translations --buildsystem=pybuild
else
	dh $@ --with python3 --buildsystem=pybuild
endif

override_dh_auto_clean:
	# Remove the auto-generated .pot file so successive builds work.
	rm -f po/variety.pot
	dh_auto_clean

override_dh_auto_test:
	# Not used in Debian build since they predominantly require network access
	true