File: rules

package info (click to toggle)
qutebrowser 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 20,964 kB
  • sloc: python: 70,568; javascript: 31,804; sh: 748; xml: 129; makefile: 49
file content (21 lines) | stat: -rwxr-xr-x 748 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
export PYBUILD_NAME=qutebrowser
export PYBUILD_DESTDIR=debian/qutebrowser
export PYBUILD_DISABLE_python3=test
%:
	dh $@ --with python3 --buildsystem=pybuild --link-doc=qutebrowser

override_dh_auto_build:
	dh_auto_build
	a2x -f manpage doc/qutebrowser.1.asciidoc

override_dh_auto_install:
	dh_auto_install
	env PREFIX=/usr DESTDIR=debian/qutebrowser $(MAKE) -f misc/Makefile install
	rm -f debian/qutebrowser/usr/lib/python3.*/dist-packages/qutebrowser/html/COPYING.html
	# Fix accidentially set x-bit
	chmod a-x -c debian/qutebrowser/usr/share/qutebrowser/scripts/utils.py
	chmod a-x -c debian/qutebrowser/usr/share/qutebrowser/userscripts/README.md

override_dh_installchangelogs:
	dh_installchangelogs doc/changelog.asciidoc