File: rules

package info (click to toggle)
openshot-qt 2.5.1%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 105,176 kB
  • sloc: python: 333,976; javascript: 34,503; xml: 3,101; makefile: 218; sh: 77
file content (24 lines) | stat: -rwxr-xr-x 894 bytes parent folder | download
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 PYBUILD_NAME = openshot-qt
export PYBUILD_DESTDIR_python3 = debian/openshot-qt
export TMPDIR = $(CURDIR)/debian/openshot-qt

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

override_dh_auto_build:
	dh_auto_build -O--buildsystem=pybuild
	PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -b html -d build/doctrees doc build/html
	PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -b man  -d build/doctrees doc build/man

override_dh_auto_install:
	dh_auto_install -O--buildsystem=pybuild
	# Remove extra license files
	rm $(TMPDIR)/usr/lib/python3*/dist-packages/openshot_qt/images/Humanity/COPYING
	rm $(TMPDIR)/usr/lib/python3*/dist-packages/openshot_qt/resources/license.txt
	chmod -x $(TMPDIR)/usr/lib/python3*/dist-packages/openshot_qt/presets/format_webm_libav1.xml

override_dh_auto_clean:
	dh_auto_clean -O--buildsystem=pybuild
	rm -rf build