File: rules

package info (click to toggle)
python-cron-descriptor 1.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 520 kB
  • sloc: python: 1,222; sh: 14; makefile: 7
file content (14 lines) | stat: -rwxr-xr-x 356 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=cron-descriptor
export PYBUILD_TEST_ARGS=tests/*.py

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

execute_before_dh_auto_build:
	set -e; \
	for loc in cron_descriptor/locale/*.po; do msgfmt --check $$loc -o $$(echo $$loc |sed 's,\.po$$,.mo,'); done