9 install: install-bin install-lib install-conf install-plugins install-doc
12 install -d $(DESTDIR)/usr/sbin
13 install -d $(DESTDIR)/usr/bin
14 cp bin/mc-* $(DESTDIR)/usr/sbin
15 cp bin/mco $(DESTDIR)/usr/bin
16 cp bin/mcollectived $(DESTDIR)/usr/sbin/mcollectived
19 install -d $(DESTDIR)/usr/lib/ruby/1.8/
20 cp -a lib/* $(DESTDIR)/usr/lib/ruby/1.8/
23 install -d $(DESTDIR)/etc/mcollective/
24 install -d $(DESTDIR)/etc/init.d
25 cp -r etc/* $(DESTDIR)/etc/mcollective/
26 cp mcollective.init $(DESTDIR)/etc/init.d/mcollective
27 rm $(DESTDIR)/etc/mcollective/ssl/PLACEHOLDER
28 rm $(DESTDIR)/etc/mcollective/ssl/clients/PLACEHOLDER
31 install -d $(DESTDIR)/usr/share/mcollective/
32 cp -a plugins $(DESTDIR)/usr/share/mcollective/
35 install -d $(DESTDIR)/usr/share/doc/
36 cp -a doc $(DESTDIR)/usr/share/doc/mcollective
39 rm -f $(DESTDIR)/usr/sbin/mcollectived
40 rm -rf $(DESTDIR)/usr/lib/ruby/1.8/mcollective*
41 rm -rf $(DESTDIR)/usr/share/mcollective
42 rm -rf $(DESTDIR)/etc/mcollective
44 .PHONY: build clean install uninstall