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
17 cp COPYING $(DESTDIR)/
20 install -d $(DESTDIR)/usr/ruby/1.8/lib/ruby/site_ruby/1.8/
21 cp -rp lib/* $(DESTDIR)/usr/ruby/1.8/lib/ruby/site_ruby/1.8/
24 install -d $(DESTDIR)/etc/mcollective/
25 install -d $(DESTDIR)/etc/init.d
26 cp -r etc/* $(DESTDIR)/etc/mcollective/
27 cp mcollective.init $(DESTDIR)/etc/init.d/mcollective
28 rm $(DESTDIR)/etc/mcollective/ssl/PLACEHOLDER
29 rm $(DESTDIR)/etc/mcollective/ssl/clients/PLACEHOLDER
32 install -d $(DESTDIR)/usr/share/mcollective/
33 cp -rp plugins $(DESTDIR)/usr/share/mcollective/
36 install -d $(DESTDIR)/usr/share/doc/
37 cp -rp doc $(DESTDIR)/usr/share/doc/mcollective
40 rm -f $(DESTDIR)/usr/sbin/mcollectived
41 rm -rf $(DESTDIR)/usr/ruby/1.8/lib/ruby/site_ruby/1.8/mcollective*
42 rm -rf $(DESTDIR)/usr/share/mcollective
43 rm -rf $(DESTDIR)/etc/mcollective
45 .PHONY: build clean install uninstall