4
Fork 0

Fixes in package files

This commit is contained in:
R3ABM Artem 2016-08-03 12:40:27 +04:00
parent 93092cff04
commit 9b20bcba2f
4 changed files with 11 additions and 6 deletions

View file

@ -43,10 +43,15 @@ install:
install -D -d $(PREFIX)
install -o root -g root cronosagent $(PREFIX)
install -o root -g root cronosagent.sh $(PREFIX)
# install -o root -g root cronosagent-init $(PREFIX)
# install -m 644 -o root -g root cronosagent-monit $(PREFIX)
# install -m 644 -o root -g root cronosagent.plist $(PREFIX)
install -o root -g root cronosagent.conf $(PREFIX)
ifeq ($(OS), Linux)
install -o root -g root cronosagent-init $(PREFIX)
install -m 644 -o root -g root cronosagent-monit $(PREFIX)
install -m 644 -o root -g root cronosagent.service $(PREFIX)
endif
ifeq ($(OS), Darwin)
install -m 644 -o root -g root cronosagent.plist $(DESTDIR)/Library/LaunchDaemons
endif
clean:
rm -f $(PREREQUISITES) $(OBJECTS) cronosagent