-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#!/usr/bin/make -f | ||
export PYBUILD_NAME=dangerzone | ||
export DEB_BUILD_OPTIONS=nocheck | ||
|
||
# XXX: Expanding the glob here, because the ./vendor dir does not exist yet. | ||
DZ_BUILD_DIR=$(wildcard $(CURDIR)/.pybuild/cpython3*/build/) | ||
export PYBUILD_INSTALL_ARGS=--install-lib=/usr/lib/python3/dist-packages | ||
export PYTHONDONTWRITEBYTECODE=1 | ||
export DH_VERBOSE=1 | ||
|
||
%: | ||
dh $@ --with python3 --buildsystem=pybuild | ||
|
||
override_dh_builddeb: | ||
./install/linux/vendor-pymupdf.py --dest $(DZ_BUILD_DIR)/dangerzone/vendor | ||
./install/linux/vendor-pymupdf.py --dest debian/dangerzone/usr/lib/python3/dist-packages/dangerzone/vendor/ | ||
dh_builddeb $@ |