[med-svn] [Git][med-team/hnswlib][master] Change sourcedirectory, remove hand-crafted rules file
Nilesh Patra
gitlab at salsa.debian.org
Mon Sep 21 13:38:38 BST 2020
Nilesh Patra pushed to branch master at Debian Med / hnswlib
Commits:
876261d8 by Nilesh Patra at 2020-09-21T18:00:33+05:30
Change sourcedirectory, remove hand-crafted rules file
- - - - -
1 changed file:
- debian/rules
Changes:
=====================================
debian/rules
=====================================
@@ -13,44 +13,7 @@ include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
- echo "I: Target $@"
- if [ "build"="$@" -o "install"="$@" ]; then \
- if [ -d python_bindings ]; then \
- cd python_bindings ; \
- ln -s ../debian . ; \
- dh $@ --with python3 --buildsystem=pybuild ; \
- rm debian ; \
- else \
- dh $@ ; \
- fi ; \
- else \
- dh $@ --with python3 --buildsystem=pybuild ; \
- fi
-
-override_dh_builddeb:
- if [ -d python_bindings ]; then \
- dh_builddeb --destdir=.. ; \
- else \
- dh_builddeb --destdir=../.. ; \
- fi
-
-
-override_dh_clean:
- dh_clean
- rm -rf python_bindings/hnswlib.egg-info
- rm -rf hnswlib.egg-info
-
-override_dh_auto_clean:
- # Most of this is relevant only if a previous build was interrupted
- dh_auto_clean
- if [ -d python_bindings ]; then \
- rm -f python_bindings/debian ; \
- cd python_bindings && ln -s ../debian . && dh_auto_clean && rm debian ; \
- fi
- rm -rf python_bindings/.pybuild .pybuild python_bindings/tmp python_bindings/build python_bindings/hnswlib.egg-info python_bindings/tmp
- rm -fr python_bindings/hnswlib.egg-info
- find . -name "*.o" -delete
-
+ dh $@ --with python3 --buildsystem=pybuild --sourcedirectory=python_bindings
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
View it on GitLab: https://salsa.debian.org/med-team/hnswlib/-/commit/876261d808ab8d76eef75b5fbacbb1f67f2f8dea
--
View it on GitLab: https://salsa.debian.org/med-team/hnswlib/-/commit/876261d808ab8d76eef75b5fbacbb1f67f2f8dea
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200921/825f10d6/attachment-0001.html>
More information about the debian-med-commit
mailing list