123456789101112131415161718192021 |
- #!/usr/bin/make -f
- # -*- makefile -*-
- # extract the last section of the changelog version for extra info
- DEB_VERSION ?= $(shell dpkg-parsechangelog -S Version)
- DEB_VERSION_EXTRA := $(lastword $(subst -, ,$(DEB_VERSION)))
- # Uncomment this to turn on verbose mode.
- #export DH_VERBOSE=1
- %:
- dh $@ --buildsystem=cmake --parallel
- override_dh_auto_configure:
- dh_auto_configure -- \
- -DPOTHOS_EXTVER="$(DEB_VERSION_EXTRA)" \
- -DCMAKE_AUTOSET_INSTALL_RPATH=FALSE \
- -DENABLE_TOOLKITS=OFF
- override_dh_installchangelogs:
- dh_installchangelogs Changelog.txt
|