debian swirl logo

Back to the packages list dot2tex

#!/usr/bin/make -f

DEB_PYTHON_SYSTEM = pysupport

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk

PRISTINE_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed s/\+repack//)

DEB_INSTALL_CHANGELOGS_ALL := changelog.txt

get-orig-source:
		-uscan --verbose --force-download --no-symlink --upstream-version $(PRISTINE_VERSION)
		tar xzf ../$(DEB_SOURCE_PACKAGE)-$(PRISTINE_VERSION).tar.gz
		find $(DEB_SOURCE_PACKAGE)-$(PRISTINE_VERSION) -type d -exec chmod +x \{\} \;
		mv $(DEB_SOURCE_PACKAGE)-$(PRISTINE_VERSION) $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig
		tar czf ../$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig
		rm -rf $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig

Builds:

dot2tex
graphviz to latex converter