#!/usr/bin/make -f

%:
	dh $@ 

make-orig-source: VERSION = `dpkg-parsechangelog | grep ^Version | sed 's/Version: \(.*\)-[^-]*/\1/'`
make-orig-source:
	tar czf ../quaternion_$(VERSION).orig.tar.gz --exclude-vcs --exclude-backups --exclude /debian --exclude /lib -C .. `basename $(CURDIR)`
	tar czf ../quaternion_$(VERSION).orig-lib.tar.gz --exclude-vcs --exclude-backups lib
