Thibaut Paumard, on Tue 08 Nov 2016 15:50:01 +0100, wrote: > Le 08/11/2016 à 15:13, Alec Leamas a écrit : > > Trying to understand the debhelper, dh-exec and dh-exec-subst > > manpages. However, I just don't get it. All these tools seems to > > be about changing the actual location of certain files by > > substituting various variables with corresponding values. > > > > However, my need is to actually *remove* some files from e. g., > > debian/install since they are not built on kfreebsd. How could I do > > this? > > You could you debian/install.ARCH files (see man debhelper).
But it often means duplicating the content, while dh-exec allows to just put conditionals. Samuel