X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=3f6dd64d4dab70ddb0621ed2e77a108422a18447;hb=refs%2Fheads%2Fmaster;hp=41c9d0889c667477bc7e11c6cbec8ae0da7e5238;hpb=d9acf021a0d9fae6073b9248563e905f86ce4050;p=servertools.macosx.git diff --git a/Makefile b/Makefile index 41c9d08..3f6dd64 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,6 @@ NAME = "servertools.macosx" TOOLS = odbackup -PREFIX = /usr/local - all: $(TOOLS) clean: @@ -26,7 +24,8 @@ distclean: clean maintainer-clean: distclean -install: all install-odbackup +install: all + @./install.sh $(TOOLS) check: all @@ -41,18 +40,5 @@ distcheck: check dist odbackup: -install-odbackup: - mkdir -p $(PREFIX)/sbin - install -c -m 755 -o root -g wheel \ - odbackup/odbackup $(PREFIX)/sbin - launchctl list de.maccc.odbackup >/dev/null 2>&1 \ - && launchctl unload -w /Library/LaunchDaemons/de.maccc.odbackup.plist \ - || true - install -c -m 644 -o root -g wheel \ - odbackup/de.maccc.odbackup.plist /Library/LaunchDaemons - [ -x /usr/sbin/slapconfig ] \ - && launchctl load -w /Library/LaunchDaemons/de.maccc.odbackup.plist \ - || echo "\n *** 'slapconfig' not found, not enabling odbackup!\n" - .PHONY: all clean distclean maintainer-clean install check dist distcheck \ $(TOOLS)