[med-svn] [Git][med-team/libsonlib][master] Move test scripts and binaries into a volatile location within debian/tests/

Shayan Doust gitlab at salsa.debian.org
Thu Jun 25 21:36:20 BST 2020



Shayan Doust pushed to branch master at Debian Med / libsonlib


Commits:
9c872ba3 by Shayan Doust at 2020-06-25T20:36:18+00:00
Move test scripts and binaries into a volatile location within debian/tests/
- - - - -


2 changed files:

- debian/libsonlib-dev.install
- debian/rules


Changes:

=====================================
debian/libsonlib-dev.install
=====================================
@@ -1,5 +1,4 @@
 #!/usr/bin/dh-exec
 
 #include/*.h	usr/include/sonlib
-lib/*		usr/lib/${DEB_HOST_MULTIARCH}
-bin/*		usr/bin
+lib/*		usr/lib/${DEB_HOST_MULTIARCH}
\ No newline at end of file


=====================================
debian/rules
=====================================
@@ -21,5 +21,12 @@ endif
 
 override_dh_install:
 	dh_install
-	mkdir -p debian/libsonlib-dev/usr/include/sonlib
+	mkdir -p debian/libsonlib-dev/usr/include/sonlib \
+	        debian/tests/sonlib-test
 	mv debian/libsonlib-dev/usr/lib/*/*.h debian/libsonlib-dev/usr/include/sonlib
+	cp -rf bin/ debian/tests/sonlib-test
+	cp -f *Test*.py debian/tests/sonlib-test
+
+override_dh_clean:
+    dh_clean
+	rm -rf debian/tests/sonlib-test



View it on GitLab: https://salsa.debian.org/med-team/libsonlib/-/commit/9c872ba3b24f0a7070628d74f3817f965a16df38

-- 
View it on GitLab: https://salsa.debian.org/med-team/libsonlib/-/commit/9c872ba3b24f0a7070628d74f3817f965a16df38
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/20200625/b727f868/attachment.html>


More information about the debian-med-commit mailing list