From: Bdale Garbee Date: Wed, 10 Sep 2014 07:29:56 +0000 (-0600) Subject: use dh_installmime, which requires telling configure to stay out of the way X-Git-Tag: debian/1.5-1~4 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=8ffc76a42ad5e3bdc7ce0529b6143f076de4a3ac use dh_installmime, which requires telling configure to stay out of the way --- 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