1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## makefile.dpatch by <giskard@debian.org
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Add Makefile for install task
8 diff -urNad mcollective-0.4.1~/Makefile mcollective-0.4.1/Makefile
9 --- mcollective-0.4.1~/Makefile 1970-01-01 00:00:00.000000000 +0000
10 +++ mcollective-0.4.1/Makefile 2010-01-06 13:43:56.000000000 +0000
18 +install: install-bin install-lib install-conf install-plugins install-doc
21 + install -d $(DESTDIR)/usr/sbin
22 + cp mc-* $(DESTDIR)/usr/sbin
23 + cp mcollectived.rb $(DESTDIR)/usr/sbin/mcollectived
26 + install -d $(DESTDIR)/usr/lib/ruby/1.8/
27 + cp -a lib/* $(DESTDIR)/usr/lib/ruby/1.8/
30 + install -d $(DESTDIR)/etc/mcollective/
31 + install -d $(DESTDIR)/etc/init.d
32 + cp etc/* $(DESTDIR)/etc/mcollective/
33 + cp mcollective.init $(DESTDIR)/etc/init.d/mcollective
36 + install -d $(DESTDIR)/usr/share/mcollective/
37 + cp -a plugins $(DESTDIR)/usr/share/mcollective/
40 + install -d $(DESTDIR)/usr/share/doc/
41 + cp -a doc $(DESTDIR)/usr/share/doc/mcollective
44 + rm -f $(DESTDIR)/usr/sbin/mcollectived
45 + rm -rf $(DESTDIR)/usr/lib/ruby/1.8/mcollective*
46 + rm -rf $(DESTDIR)/usr/share/mcollective
47 + rm -rf $(DESTDIR)/etc/mcollective
49 +.PHONY: clean install uninstall