aboutsummaryrefslogtreecommitdiffstats
path: root/dists/debian/rules
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2017-08-29 09:31:08 +0200
committerPetter Reinholdtsen <pere@hungry.com>2017-08-29 09:31:08 +0200
commit160598ab2e921907d64795d8c28b6260398e1e43 (patch)
treea6551d57779a57948b7e301d96d3700c1a2b53fe /dists/debian/rules
parent5887f76c524ad4878e12b52b7e09d58c503cea50 (diff)
Clean up Debian packaging rules a bit.
Diffstat (limited to 'dists/debian/rules')
-rwxr-xr-xdists/debian/rules11
1 files changed, 9 insertions, 2 deletions
diff --git a/dists/debian/rules b/dists/debian/rules
index cb59406..d99b9e5 100755
--- a/dists/debian/rules
+++ b/dists/debian/rules
@@ -1,4 +1,5 @@
#!/usr/bin/make -f
+
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_HOST_MULTIARCH
@@ -10,6 +11,12 @@ override_dh_auto_configure:
override_dh_auto_install:
dh_auto_install
- rm -f debian/gr-gsm/usr/lib/python2.7/dist-packages/grgsm/*pyc
- rm -f debian/gr-gsm/usr/lib/python2.7/dist-packages/grgsm/*pyo
+ # Remove compiled python files
+ rm -f debian/gr-gsm/usr/lib/python2.7/dist-packages/grgsm/*py[co]
+
+ # Use jquery.js file from libjs-jquery instead, see gr-gsm.links
+ rm -f debian/gr-gsm/usr/share/doc/gr-gsm/html/jquery.js
+
+debian/copyright:
+ cme update dpkg-copyright