# (at your option) any later version.
# Please read the file COPYING, README and AUTHORS for more information.
#
-# $Id: Makefile.am,v 1.3 2008/02/17 15:31:15 alex Exp $
-#
-SUBDIRS = ngIRCd.xcodeproj
+SUBDIRS = ngIRCd.xcodeproj ngIRCd.pmdoc
-EXTRA_DIST = de.barton.ngircd.plist.tmpl config.h cvs-version.h
+EXTRA_DIST = de.barton.ngircd.plist.tmpl config.h preinstall.sh postinstall.sh
SUFFIXES = .tmpl .
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."
clean-local:
rm -rf build
+ rm -f de.barton.ngircd.plist
maintainer-clean-local:
rm -f Makefile Makefile.in