summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 82ca9526c15b0dfb3560547257c4969e53259587 (plain)
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 PYBUILD_DISABLE_python2=1

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_build:
	dh_auto_build
	./manage.sh styles # needed to run lessc because grunt-contrib-less is not packaged
	./manage.sh locales # run pybabel
	./manage.sh grunt_build # build the oscar theme
	python ./debian/ionicons/generate.py < ./debian/ionicons/input.json

# do not run tests because the splinter python3 module is not packaged yet
override_dh_auto_test: