X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=debian%2Frules;h=a4cbe2c112147f66a3078cc62f9c6dba11c207e6;hb=01eb36408d7e0e826b431fcc1d3b2deb23607e0b;hp=1ea1f68d318326c9554c7c4d8255e7a0f48c2971;hpb=3cad81b0ebb52352c66643a2587e94a2b693a2d2;p=fw%2Faltos diff --git a/debian/rules b/debian/rules index 1ea1f68d..a4cbe2c1 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,7 +14,9 @@ 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 @@ -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