1
0
mirror of synced 2026-01-22 02:05:22 +00:00

2005-12-19 10:45:08 by steve

Added 'install' 'uninstall'
This commit is contained in:
steve 2005-12-19 10:45:08 +00:00
parent 4c06a96837
commit 0849523e19

View File

@ -19,6 +19,9 @@ nop:
@echo " clean - Remove bogus files."
@echo " commit - Commit changes, after running check."
@echo " diff - Run a 'cvs diff'."
@echo " install - Install the software"
@echo " release - Make a release tarball"
@echo " uninstall - Remove the software"
@echo " update - Update from the CVS repository."
@echo " "
@ -42,6 +45,17 @@ diff:
cvs diff --unified 2>/dev/null
install:
cp xen-create-image /usr/bin
cp xen-delete-image /usr/bin
cp xen-update-image /usr/bin
chmod 755 /usr/bin/xen-create-image
chmod 755 /usr/bin/xen-delete-image
chmod 755 /usr/bin/xen-update-image
mkdir /etc/xen-tools
cp etc/xen-tools.conf /etc/xen-tools
release: clean
rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION)
rm -f $(DIST_PREFIX)/$(BASE)-$(VERSION).tar.gz
@ -52,6 +66,7 @@ release: clean
mv $(DIST_PREFIX)/$(BASE)-$(VERSION).tar.gz .
rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION)
test:
@perl -MTest::Harness -e '$$Test::Harness::verbose=0; runtests @ARGV;' tests/*.t
@ -60,5 +75,11 @@ test-verbose:
@perl -MTest::Harness -e '$$Test::Harness::verbose=1; runtests @ARGV;' tests/*.t
uninstall:
rm /usr/bin/xen-create-image
rm /usr/bin/xen-delete-image
rm /usr/bin/xen-update-image
update:
cvs -z3 update -A -d 2>/dev/null