1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
export LC_ALL=C.UTF-8
%:
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
# skip doctest with afmLib due to file loading issue with dh_auto_test
# TOFIX(mwei): find a fix to this
export PYBUILD_TEST_ARGS = -k "not afmLib"
override_dh_auto_build:
python3 MetaTools/buildUCD.py --ucd-path=/usr/share/unicode
PYTHONPATH="./Lib" python3 MetaTools/buildTableList.py
dh_auto_build
override_dh_sphinxdoc:
sphinx-build $(CURDIR)/Doc/source $(CURDIR)/debian/python-fonttools-doc/usr/share/doc/fonttools/html/
dh_sphinxdoc
override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_PROFILES)),)
dh_auto_test
endif
|