diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-08-25 15:32:26 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-08-25 15:32:26 +0200 |
commit | 02292cfec56d773f3e3e8607f5b7f76f97c9c874 (patch) | |
tree | 227557a2b19a60250bdf48d1156f41cb0dfab5a3 /debian/rules | |
parent | df608fa858819f84924451b6a97559671303e8b0 (diff) |
last 2.3.2-1
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..1f18a5a --- /dev/null +++ b/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//;s/\+/\-/') + +%: + dh $@ + +override_dh_auto_clean: + scons -c + rm -fr build + find -name "*.pyc" -delete + +override_dh_auto_install: + scons doc + rm -fr $(CURDIR)/build/doc/HTML/scons-user + +get-orig-source: + wget http://downloads.sourceforge.net/project/scons/scons-src/${VERSION}/scons-src-${VERSION}.tar.gz -O ../scons-src-${VERSION}.tar.gz + tar fxz ../scons-src-${VERSION}.tar.gz -C ../ && mv ../scons-src-${VERSION} ../scons-doc-${VERSION} + tar czf ../scons-doc_${VERSION}.orig.tar.gz ../scons-doc-${VERSION}/bin ../scons-doc-${VERSION}/bootstrap.py \ + ../scons-doc-${VERSION}/config ../scons-doc-${VERSION}/doc ../scons-doc-${VERSION}/LICENSE \ + ../scons-doc-${VERSION}/QMTest ../scons-doc-${VERSION}/SConstruct ../scons-doc-${VERSION}/src + rm -fr ../scons-doc-${VERSION} ../scons-src-${VERSION}.tar.gz |