# -*- makefile -*-
export DH_VERBOSE=1
-PKG_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p'| sed 's/+dfsg//')
+PKG_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)/\1/p')
# this target invoked by git-buildpackage using a clean hook, see .gbp.conf
prebuild:
dch -v `git describe | tr - +` "build for Debian from git"
git commit debian/changelog -m "update Debian changelog for build"
+ git log > ChangeLog
configure: configure-stamp
configure-stamp:
dh_testdir
- ./autogen.sh
+ ./autogen.sh --prefix=/usr
touch configure-stamp
build: build-stamp
dh_installchangelogs ChangeLog
dh_installdocs
dh_installexamples
-# dh_install
+ dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate