Author: waldi Date: Tue Aug 22 09:28:08 2006 New Revision: 245 Added: trunk/xen-common/debian/xen-utils-common.examples trunk/xen-common/debian/xen-utils-common.install Modified: trunk/xen-common/debian/rules Log: * debian/rules - Use orig. - Install files. * debian/xen-utils-common.examples, debian/xen-utils-common.install: Add. Modified: trunk/xen-common/debian/rules =============================================================================--- trunk/xen-common/debian/rules (original) +++ trunk/xen-common/debian/rules Tue Aug 22 09:28:08 2006 @@ -2,21 +2,38 @@ #export DH_VERBOSE=1 +VERSION := $(shell dpkg-parsechangelog | perl -ne ''/^Version:\s+(\S+)-[^-]+$$/ && print $$1;'') + build: clean: dh_testdir - dh_testroot dh_clean -binary-indep: +DIR_ORIG = ../orig/xen-common-$(VERSION) + +orig: $(DIR_ORIG) + rsync --delete --exclude debian --exclude .svn --link-dest=$(DIR_ORIG)/ -a $(DIR_ORIG)/ . + +# This is to make dpatch-edit-patch work +unpatch: clean + +maintainerclean: + rm -rf $(filter-out .svn debian, $(wildcard * .[^.]*)) + +install: + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) -C tools/examples install DESTDIR=$(CURDIR)/debian/tmp DISTDIR=$(CURDIR)/debian/tmp + +binary-indep: install dh_testdir dh_testroot - dh_install + dh_install --sourcedir=debian/tmp dh_installchangelogs dh_installdocs dh_installexamples - dh_installman dh_installinit -p xen-utils-common --name xend -- defaults 20 21 dh_installinit -p xen-utils-common --name xendomains --no-restart-on-upgrade -- defaults 21 20 dh_link Added: trunk/xen-common/debian/xen-utils-common.examples =============================================================================--- (empty file) +++ trunk/xen-common/debian/xen-utils-common.examples Tue Aug 22 09:28:08 2006 @@ -0,0 +1 @@ +debian/tmp/etc/xen/xm* Added: trunk/xen-common/debian/xen-utils-common.install =============================================================================--- (empty file) +++ trunk/xen-common/debian/xen-utils-common.install Tue Aug 22 09:28:08 2006 @@ -0,0 +1,3 @@ +etc/udev/*.rules +etc/xen/scripts +etc/xen/xend*