From: HiFiBerry Date: Thu, 22 Jul 2021 06:30:53 +0000 (+0200) Subject: Use DESTDIR X-Git-Tag: 1.2~105^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ffa47e018c9d68a7817148fc42c6074e0b00823;p=thirdparty%2Fnqptp.git Use DESTDIR --- diff --git a/Makefile.am b/Makefile.am index f89c45d..906e01a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,8 +19,8 @@ endif install-exec-hook: if BUILD_FOR_LINUX - [ -e /lib/systemd/system ] || mkdir -p /lib/systemd/system - cp nqptp.service /lib/systemd/system + [ -e $(DESTDIR)/lib/systemd/system ] || mkdir -p $(DESTDIR)/lib/systemd/system + cp nqptp.service $(DESTDIR)/lib/systemd/system endif # no installer for FreeBSD yet