File: rules

package info (click to toggle)
variety 0.8.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,316 kB
  • sloc: python: 10,219; sh: 193; xml: 90; 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