X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=debian%2Frules;h=4e927977fe8a9f55481cd355f669409bf240e569;hb=da2ea5232ae3ce287675a549b3155821f56c2c40;hp=83f3a53f76f04744f5d71ce45ec74145e5ba5b1d;hpb=ea95c060f8bd959cefc60dd6d411151f3c91384e;p=fw%2Faltos diff --git a/debian/rules b/debian/rules index 83f3a53f..4e927977 100755 --- a/debian/rules +++ b/debian/rules @@ -3,17 +3,10 @@ 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) - 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: @@ -21,11 +14,13 @@ configure-stamp: ./autogen.sh --prefix=/usr touch configure-stamp -build: build-stamp +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp build-stamp: configure-stamp dh_testdir - $(MAKE) VERSION=$(PKG_VERSION) + $(MAKE) (cd doc ; $(MAKE)) touch $@ @@ -43,6 +38,7 @@ install: build dh_installdirs $(MAKE) DESTDIR=$(CURDIR)/debian/altos install + sed -i "/dependency_libs/ s/'.*'/''/" `find debian/altos/usr/lib/altos/ -name '*.la'` binary-indep: install