]> git.ipfire.org Git - thirdparty/nqptp.git/commitdiff
Use libdir during systemd service install 10/head
authorfwcd <fwcdmail@gmail.com>
Wed, 3 Nov 2021 20:05:13 +0000 (21:05 +0100)
committerfwcd <fwcdmail@gmail.com>
Wed, 3 Nov 2021 20:13:20 +0000 (21:13 +0100)
Makefile.am

index cb907f4494a5b035d611f00b27a27e76044d2e53..660d6cfdcea64510bfb0d86e0d0b0473ec77227e 100644 (file)
@@ -20,8 +20,8 @@ endif
 install-exec-hook:
 if BUILD_FOR_LINUX
 if INSTALL_SYSTEMD_STARTUP
-       [ -e $(DESTDIR)/lib/systemd/system ] || mkdir -p $(DESTDIR)/lib/systemd/system
-       cp nqptp.service $(DESTDIR)/lib/systemd/system
+       [ -e $(DESTDIR)$(libdir)/systemd/system ] || mkdir -p $(DESTDIR)$(libdir)/systemd/system
+       cp nqptp.service $(DESTDIR)$(libdir)/systemd/system
 endif
 endif
  # no installer for FreeBSD yet