summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2014-09-10 01:29:56 -0600
committerBdale Garbee <bdale@gag.com>2014-09-10 01:29:56 -0600
commit8ffc76a42ad5e3bdc7ce0529b6143f076de4a3ac (patch)
tree899b0b3fcbaa87b0d67b6e5b2ca6fd789b6c4ad0
parent0ee1a0d55fef21ae30a97bba5b6b0d4bff84fd4e (diff)
use dh_installmime, which requires telling configure to stay out of the way
-rwxr-xr-xdebian/rules8
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index c1c9a0f8..9ff89cc8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,9 @@ configure: configure-stamp
configure-stamp:
dh_testdir
PKG_CONFIG_PATH=/opt/stlink/lib/pkgconfig ./autogen.sh \
- --prefix=/usr --with-google-key=/opt/google/maps-api-key
+ --prefix=/usr \
+ --disable-install-shared-mime-info \
+ --with-google-key=/opt/google/maps-api-key
touch configure-stamp
build: build-arch build-indep
@@ -29,6 +31,7 @@ clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
+ rm -f debian/altos.sharedmimeinfo
[ ! -f Makefile ] || $(MAKE) distclean
dh_clean
@@ -59,7 +62,8 @@ binary-arch: install
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
-# dh_installmime
+ cp icon/org-altusmetrum-mimetypes.xml debian/altos.sharedmimeinfo
+ dh_installmime
# dh_python
# dh_installinit
# dh_installcron