projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'branch-1.1' into debian
[fw/altos]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index 1ea1f68d318326c9554c7c4d8255e7a0f48c2971..a4cbe2c112147f66a3078cc62f9c6dba11c207e6 100755
(executable)
--- 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')
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:
# 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:
configure: configure-stamp
configure-stamp:
@@
-21,7
+14,9
@@
configure-stamp:
./autogen.sh --prefix=/usr
touch 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
build-stamp: configure-stamp
dh_testdir
@@
-43,6
+38,7
@@
install: build
dh_installdirs
$(MAKE) DESTDIR=$(CURDIR)/debian/altos install
dh_installdirs
$(MAKE) DESTDIR=$(CURDIR)/debian/altos install
+ sed -i "/dependency_libs/ s/'.*'/''/" `find debian/altos/usr/lib/altos/ -name '*.la'`
binary-indep: install
binary-indep: install