X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=debian%2Frules;h=9ff89cc82a14fefedddf9072698f2ae6cff82d0b;hb=f22b5bf5c442133b68c9f0b5551ce3a32b17cc6c;hp=122a0fed2349bfcc7cbe9895e8fe9b095c730888;hpb=6fa1ec0dbf2a4eda8d061c67b3779b83b88f29f0;p=fw%2Faltos diff --git a/debian/rules b/debian/rules index 122a0fed..9ff89cc8 100755 --- a/debian/rules +++ b/debian/rules @@ -3,22 +3,18 @@ export DH_VERBOSE=1 PKG_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)/\1/p') -DEB_VERSION := $(shell if [ -x /usr/bin/git ]; then git describe; else echo 0; fi | tr - +) # this target invoked by git-buildpackage using a clean hook, see .gbp.conf prebuild: - echo $(DEB_VERSION) - git-dch --release --new-version=$(DEB_VERSION) --multimaint-merge - git log > ChangeLog - git commit -n ChangeLog debian/changelog \ - -m "update changelogs for Debian build" -# git tag debian/$(DEB_VERSION) -# git push --tags origin master + echo "not frobbing changelog for official builds" configure: configure-stamp configure-stamp: dh_testdir - ./autogen.sh --prefix=/usr + PKG_CONFIG_PATH=/opt/stlink/lib/pkgconfig ./autogen.sh \ + --prefix=/usr \ + --disable-install-shared-mime-info \ + --with-google-key=/opt/google/maps-api-key touch configure-stamp build: build-arch build-indep @@ -35,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 @@ -65,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