libtpms/debian/rules
Neil Roza 3476560a44 make debhelper play nice with autotools
We need to inform debhelper that it will be driving the action using autotools.

edit `debian/control` field `Build-Depends`: add `autotools-dev` and
`dh-autoreconf`

edit `debian/rules`:

* change the default target `%` to invoke `dh` with `autotools-dev` and
  `autoreconf`

* remove from `override_dh_auto_configure` the invocation to `./autogen.sh`
  obsoleted by `dh-autoreconf`
2020-04-06 12:22:48 -04:00

14 lines
275 B
Makefile
Executable File

#!/usr/bin/make -f
# export DH_VERBOSE=1
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
%:
dh $@ --parallel --with autotools-dev --with autoreconf
override_dh_auto_configure:
dh_auto_configure -- --with-openssl --with-tpm2
override_dh_usrlocal: