about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2008-07-31 14:35:22 +0200
committerAlexander Barton <alex@barton.de>2008-07-31 14:35:22 +0200
commit5af91fc0052cabeee956c8b0b3c61299d85f795e (patch)
treedcf8ca115bba553c4e3e872195c687d1cb8954d9
parentccbbd7d1a543728c2639b7546213f1daf8f6dd3e (diff)
downloadngircd-5af91fc0052cabeee956c8b0b3c61299d85f795e.tar.gz
ngircd-5af91fc0052cabeee956c8b0b3c61299d85f795e.zip
Install /Library/LaunchDaemons/de.barton.ngircd.plist into $(DESTDIR)
-rw-r--r--contrib/MacOSX/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/MacOSX/Makefile.am b/contrib/MacOSX/Makefile.am
index 306e41f1..4d49087b 100644
--- a/contrib/MacOSX/Makefile.am
+++ b/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."