Fixes in package files
This commit is contained in:
parent
93092cff04
commit
9b20bcba2f
4 changed files with 11 additions and 6 deletions
11
Makefile
11
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue