Staging
v0.4.2
https://foss.heptapod.net/mercurial/hgview
Raw File
Tip revision: 1850a087c1b6cb026470c738b2c7f82c6fada06d authored by Mads Kiilerich on 04 April 2020, 02:27:44 UTC
qt5: renaming of references to hgviewlib/qt5, finishing up the Qt5 port
Tip revision: 1850a08
rules
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
#
# adapted by Logilab for automatic generation by debianize
# (part of the devtools project, http://www.logilab.org/projects/devtools)
#
# Copyright (c) 2003-2012 LOGILAB S.A. (Paris, FRANCE).
# http://www.logilab.fr/ -- mailto:contact@logilab.fr

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

export PYBUILD_NAME=hgview
export PYBUILD_DESTDIR_python3=

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

clean: 
	dh_python3 clean
	rm -f build-stamp configure-stamp
	rm -rf build
	python3 setup.py clean
	rm -f hgviewlib/qt5/*_ui.py hgviewlib/qt5/hgqv_rc.py
	make -C doc clean
	find . -name "*.pyc" -delete
	rm -f changelog.gz

override_dh_python3:
	# avoid conflict with mercurial's own hgext3rd/__init__.py
	find debian -path '*/hgext3rd/__init__.py' -delete
	dh_python3

override_dh_install:
	dh_install --fail-missing

override_dh_compress:
	dh_compress -X.py -X.ini -X.xml -Xtest
back to top