]> git.ipfire.org Git - thirdparty/nqptp.git/commitdiff
Use DESTDIR 7/head
authorHiFiBerry <info@hifiberry.com>
Thu, 22 Jul 2021 06:30:53 +0000 (08:30 +0200)
committerGitHub <noreply@github.com>
Thu, 22 Jul 2021 06:30:53 +0000 (08:30 +0200)
Makefile.am

index f89c45d844db64fd222a698427db9e213d94d17c..906e01ae1078bb726ae8bbf142df185f5e11ea01 100644 (file)
@@ -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