[BACK]Return to Makefile.am CVS log [TXT][DIR] Up to [local] / ircnowd / contrib / MacOSX

Annotation of ircnowd/contrib/MacOSX/Makefile.am, Revision 1.1.1.1

1.1       tomglok     1: #
                      2: # ngIRCd -- The Next Generation IRC Daemon
                      3: # Copyright (c)2001-2008 Alexander Barton <alex@barton.de>
                      4: #
                      5: # This program is free software; you can redistribute it and/or modify
                      6: # it under the terms of the GNU General Public License as published by
                      7: # the Free Software Foundation; either version 2 of the License, or
                      8: # (at your option) any later version.
                      9: # Please read the file COPYING, README and AUTHORS for more information.
                     10: #
                     11:
                     12: SUBDIRS = ngIRCd.xcodeproj ngIRCd.pmdoc
                     13:
                     14: EXTRA_DIST = de.barton.ngircd.plist.tmpl config.h preinstall.sh postinstall.sh
                     15:
                     16: SUFFIXES = .tmpl .
                     17:
                     18: .tmpl:
                     19:        sed \
                     20:            -e s@:SBINDIR:@${sbindir}@ \
                     21:            <$< >$@
                     22:
                     23: install-data-local:
                     24:        [ `uname -s` != "Darwin" ] || make install-sys-darwin
                     25:
                     26: install-sys-darwin:
                     27:        @if [ `id -u` -eq 0 ]; then \
                     28:          make install-sys-darwin-root; \
                     29:        else \
                     30:          echo; \
                     31:          echo " ** NOTE: Not installing with root privileges, so the LaunchDaemon script"; \
                     32:          echo " ** \"/Library/LaunchDaemons/de.barton.ngircd.plist\" can't be installed/updated!"; \
                     33:          echo; \
                     34:        fi
                     35:
                     36: install-sys-darwin-root: de.barton.ngircd.plist
                     37:        install -d -m 755 -o root -g wheel $(DESTDIR)/Library/LaunchDaemons
                     38:        install -c -m 644 -b -o root -g wheel de.barton.ngircd.plist \
                     39:         $(DESTDIR)/Library/LaunchDaemons/de.barton.ngircd.plist
                     40:        @echo
                     41:        @echo " ** \"/Library/LaunchDaemons/de.barton.ngircd.plist\" has been installed,"
                     42:        @echo " ** but is disabled. Use launchctl(8) to enable/run ngIRCd on Darwin/Mac OS X."
                     43:        @echo
                     44:
                     45: clean-local:
                     46:        rm -rf build
                     47:        rm -f de.barton.ngircd.plist
                     48:
                     49: maintainer-clean-local:
                     50:        rm -f Makefile Makefile.in
                     51:
                     52: # -eof-

CVSweb