On 11-Oct-2013, Ben Finney wrote: > Thomas Goirand <z...@debian.org> reports that these files are considered > non-free by the Debian FTP masters.
Thomas presents the attached snippet for ‘debian/rules’, to rebuild the upstream tarball (for version 3.7) without minimised ECMAScript files. -- \ “Unix is an operating system, OS/2 is half an operating system, | `\ Windows is a shell, and DOS is a boot partition virus.” —Peter | _o__) H. Coffin | Ben Finney <b...@benfinney.id.au>
DEBVERS ?= $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p') VERSION ?= $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//') NO_DFSG ?= $(shell echo '$(VERSION)' | sed -e 's/\+dfsg\.[[:digit:]]*//') .PHONY: get-orig-source get-orig-source: rm -f coverage-$(NO_DFSG).tar.gz $(CURDIR)/../python-coverage_$(VERSION).tar.gz wget http://pypi.python.org/packages/source/c/coverage/coverage-$(NO_DFSG).tar.gz tar -xzf coverage-$(NO_DFSG).tar.gz rm coverage-$(NO_DFSG)/coverage/htmlfiles/jquery.min.js rm coverage-$(NO_DFSG)/coverage/htmlfiles/jquery.tablesorter.min.js rm coverage-$(NO_DFSG)/tests/farm/html/src/htmlcov/jquery-1.4.3.min.js rm coverage-$(NO_DFSG)/tests/farm/html/src/htmlcov/jquery.tablesorter.min.js rm coverage-$(NO_DFSG)/tests/qunit/jquery.tmpl.min.js mv coverage-$(NO_DFSG) python-coverage-$(VERSION) tar -czf $(CURDIR)/../python-coverage_$(VERSION).tar.gz python-coverage-$(VERSION) rm -r python-coverage-$(VERSION) rm -f coverage-$(NO_DFSG).tar.gz
signature.asc
Description: Digital signature