[Debian-med-packaging] pftools: CMAKE_INSTALL_PREFIX resolves *sometimes* to /usr instead of $(CURDIR)/debian/$package/usr

Andreas Tille andreas at an3as.eu
Thu Dec 17 16:55:19 GMT 2020


Hi Juhani,

On Thu, Dec 17, 2020 at 06:04:26PM +0200, Juhani Numminen wrote:
> 
> They do not take DESTDIR into account. They should, because the built-in
> cmake function install() does.
> 
> Note that
> - ${CMAKE_INSTALL_PREFIX}           is /usr
> - ${DESTDIR}${CMAKE_INSTALL_PREFIX} is /build/pftools-3.2.6/debian/pftools/usr

I tried to implement this in

   https://salsa.debian.org/med-team/pftools/-/commit/4aac978b4166030668477d9b5d95b91a9658370e

but unfortunately this does not work.

Did I misunderstood your hint?

Kind regards

        Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list