4 dh $@ --buildsystem=ruby --with ruby
6 override_dh_auto_install:
7 cp $(CURDIR)/etc/server.cfg.dist $(CURDIR)/debian/mcollective/usr/share/mcollective/server.cfg
8 cp $(CURDIR)/etc/client.cfg.dist $(CURDIR)/debian/mcollective-client/usr/share/mcollective-client/client.cfg
9 cp $(CURDIR)/etc/facts.yaml.dist $(CURDIR)/debian/mcollective-common/etc/mcollective/facts.yaml
10 cp $(CURDIR)/etc/rpc-help.erb $(CURDIR)/debian/mcollective-common/etc/mcollective/rpc-help.erb
11 cp -R $(CURDIR)/lib/* $(CURDIR)/debian/mcollective-common/usr/lib/ruby/vendor_ruby/
12 cp -R $(CURDIR)/plugins $(CURDIR)/debian/mcollective-common/usr/share/mcollective/
13 cp $(CURDIR)/bin/mco $(CURDIR)/debian/mcollective-client/usr/bin/
14 cp $(CURDIR)/bin/mcollectived $(CURDIR)/debian/mcollective/usr/sbin/
15 cp -R $(CURDIR)/doc/* $(CURDIR)/debian/mcollective-doc/usr/share/doc/mcollective-doc/
17 override_dh_installinit:
18 dh_installinit --error-handler=true