Bug#585516: libmed-tools: xmdump contains an invalid path to command mdump

trophime christophe.trophime at lncmi.cnrs.fr
Wed Jul 7 15:17:11 UTC 2010


Hi Adam,
changing the install target in debian/rules as follows fix the problem

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs

	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
	rm -rf $(CURDIR)/debian/tmp/usr/bin/test*
	
	# Fix wrong path to mdump
	sed -i -e 's/\/usr\/local\/bin\/mdump/\/usr\/bin\/mdump/'
$(CURDIR)/debian/tmp/usr/bin/xmdump 
	
	# Move all files in their corresponding package
	dh_install --list-missing --sourcedir=debian/tmp







More information about the debian-science-maintainers mailing list