Commit Diff


commit - ccbbd7d1a543728c2639b7546213f1daf8f6dd3e
commit + 5af91fc0052cabeee956c8b0b3c61299d85f795e
blob - 306e41f152a4ab6c50a470166c6128d4e05720d2
blob + 4d49087b27c138dbaa8d56b54ae1f994b83015bb
--- contrib/MacOSX/Makefile.am
+++ contrib/MacOSX/Makefile.am
@@ -36,7 +36,9 @@ install-sys-darwin:
 	fi
 
 install-sys-darwin-root: de.barton.ngircd.plist
-	install -c -m 644 -b -o root -g wheel de.barton.ngircd.plist /Library/LaunchDaemons/de.barton.ngircd.plist
+	install -d -m 755 -o root -g wheel $(DESTDIR)/Library/LaunchDaemons
+	install -c -m 644 -b -o root -g wheel de.barton.ngircd.plist \
+	 $(DESTDIR)/Library/LaunchDaemons/de.barton.ngircd.plist
 	@echo
 	@echo " ** \"/Library/LaunchDaemons/de.barton.ngircd.plist\" has been installed,"
 	@echo " ** but is disabled. Use launchctl(8) to enable/run ngIRCd on Darwin/Mac OS X."