tgt: Do not abuse DESTDIR

This commit is contained in:
Jan Tojnar 2018-12-22 22:29:54 +01:00
parent 4efe405311
commit fadd95af14
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -15,9 +15,14 @@ in stdenv.mkDerivation rec {
buildInputs = [ libxslt systemd libaio docbook_xsl ]; buildInputs = [ libxslt systemd libaio docbook_xsl ];
DESTDIR = "$(out)"; makeFlags = [
PREFIX = "/"; "PREFIX=${placeholder "out"}"
SD_NOTIFY="1"; "SD_NOTIFY=1"
];
installFlags = [
"sysconfdir=${placeholder "out"}/etc"
];
preConfigure = '' preConfigure = ''
sed -i 's|/usr/bin/||' doc/Makefile sed -i 's|/usr/bin/||' doc/Makefile