File: rules

package info (click to toggle)
flufl.i18n 3.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 300 kB
  • sloc: python: 568; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 435 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_NAME=flufl.i18n
export PYBUILD_AFTER_INSTALL=rm -rf '{destdir}/{install_dir}/flufl/i18n/README.rst' \
	'{destdir}/{install_dir}/flufl/i18n/NEWS.rst' \
	'{destdir}/{install_dir}/flufl/i18n/docs'

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

override_dh_installchangelogs:
	dh_installchangelogs -k flufl/i18n/NEWS.rst

override_dh_auto_build:
	dh_auto_build
	python3 setup.py build_sphinx