Skip to content
Newer
Older
100644 23 lines (16 sloc) 495 Bytes
19c824d @postwait install
postwait authored
1 PREFIX=/opt/omni
2 MAN=$(PREFIX)/man/man8
3 SBIN=$(PREFIX)/sbin
4 CONF=$(PREFIX)/etc/node-agent.d
5
6 all:
7
8 install: install-nad install-man install-plugins
9
10 install-dirs:
11 ./mkinstalldirs $(DESTDIR)$(MAN)
12 ./mkinstalldirs $(DESTDIR)$(SBIN)
13 ./mkinstalldirs $(DESTDIR)$(CONF)
14
15 install-nad: install-dirs
16 ./install-sh -c -m 0755 nad $(DESTDIR)$(SBIN)/nad
17
18 install-man: install-dirs
19 ./install-sh -c -m 0644 nad.8 $(DESTDIR)$(MAN)/nad.8
20
21 install-plugins: install-dirs
22 rsync -a plugins/ $(DESTDIR)$(CONF)/
Something went wrong with that request. Please try again.