[med-svn] [Git][med-team/ghmm][master] d/rules: delay file conversion after dh_installexamples.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Tue Jul 16 21:30:48 BST 2024



Étienne Mollier pushed to branch master at Debian Med / ghmm


Commits:
9a2cab98 by Étienne Mollier at 2024-07-16T22:28:18+02:00
d/rules: delay file conversion after dh_installexamples.

Gbp-Dch: ignore

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -41,9 +41,6 @@ override_dh_install:
 	mv debian/tmp/usr/local/lib/python3.*/dist-packages/ghmmwrapper-0.8-py3*.egg debian/python3-HMMEd/usr/lib/python3/dist-packages/ghmm
 	rm -rf debian/tmp/usr/local
 	find debian -type d -name __pycache__ | xargs rm -rf
-	# convert sequences_test.c from its national encoding
-	iconv -f ISO-8859-1 -t UTF-8 tests/sequences_test.c \
-		-o debian/ghmm/usr/share/doc/ghmm/examples/sequences_test.c
 
 override_dh_python3:
 	# We do not provide a package python3-HMMEd thus copy the pybuild installed files over to ghmm
@@ -69,5 +66,10 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	$(MAKE) --directory=tests
 endif
 
+execute_after_dh_installexamples:
+	# convert sequences_test.c from its national encoding
+	iconv -f ISO-8859-1 -t UTF-8 tests/sequences_test.c \
+		-o debian/ghmm/usr/share/doc/ghmm/examples/sequences_test.c
+
 execute_before_dh_fixperms:
 	chmod -v -x debian/ghmm/usr/share/doc/ghmm/examples/*.c



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

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/med-team/ghmm/-/commit/9a2cab98d2dfb90a1efd5d5f3ef048272c10663a
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/20240716/bac7cde3/attachment-0001.htm>


More information about the debian-med-commit mailing list