File: rules

package info (click to toggle)
mcollective 2.6.0+dfsg-2.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,480 kB
  • ctags: 1,164
  • sloc: ruby: 9,588; sh: 652; xml: 468; python: 181; makefile: 161; perl: 127; php: 46
file content (19 lines) | stat: -rwxr-xr-x 953 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

%:
	dh $@ --buildsystem=ruby --with ruby,systemd

override_dh_auto_install:
	cp $(CURDIR)/etc/server.cfg.dist $(CURDIR)/debian/mcollective/usr/share/mcollective/server.cfg
	cp $(CURDIR)/etc/client.cfg.dist $(CURDIR)/debian/mcollective-client/usr/share/mcollective-client/client.cfg
	cp $(CURDIR)/etc/facts.yaml.dist $(CURDIR)/debian/mcollective-common/etc/mcollective/facts.yaml
	cp $(CURDIR)/etc/rpc-help.erb $(CURDIR)/debian/mcollective-common/etc/mcollective/rpc-help.erb
	cp -R  $(CURDIR)/lib/* $(CURDIR)/debian/mcollective-common/usr/lib/ruby/vendor_ruby/
	cp -R $(CURDIR)/plugins $(CURDIR)/debian/mcollective-common/usr/share/mcollective/
	cp $(CURDIR)/bin/mco $(CURDIR)/debian/mcollective-client/usr/bin/
	cp $(CURDIR)/bin/mcollectived $(CURDIR)/debian/mcollective/usr/sbin/
	cp -R $(CURDIR)/doc/* $(CURDIR)/debian/mcollective-doc/usr/share/doc/mcollective-doc/


override_dh_installinit:
	dh_installinit --error-handler=true