[Pkg-wmaker-commits] [wmbattery] 47/241: - updates - updated all installhooks for new kite directory layout

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 23:37:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmbattery.

commit 0a693ceeffa3bb7f826cd1e5ce2b68d82cf3985e
Author: joey <joey at a4a2c43b-8ac3-0310-8836-e0e880c912e2>
Date:   Tue Mar 25 04:38:46 2003 +0000

    - updates
    - updated all installhooks for new kite directory layout
---
 debian/rules | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index 78bd916..f91956f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -58,13 +58,12 @@ binary-arch: build install
 	dh_builddeb
 
 VERSION=$(shell expr "`dpkg-parsechangelog 2>/dev/null |grep Version:`" : '.*Version: \(.*\)')
+DIR=/home/www/kitenet.net/programs/wmbattery
 installhook:
-	rm /home/ftp/pub/code/wmbattery/* || true
-	cp debian/changelog /home/pub/programs/wmbattery/CHANGES
-	echo -n $(VERSION) > /home/pub/programs/wmbattery/LATEST-VERSION-IS
-	cd /home/ftp/pub/code/wmbattery; \
-		ln -sf ../debian/wmbattery_$(VERSION).tar.gz wmbattery_$(VERSION).tar.gz; \
-		ln -sf ../debian/wmbattery_$(VERSION).tar.gz wmbattery.tar.gz
+	cp debian/changelog $(DIR)/CHANGES
+	echo -n $(VERSION) > $(DIR)/LATEST-VERSION-IS
+	rm -f $(DIR)/*.tar.gz
+	ln -s /home/joey/debian/unstable/wmbattery_$(VERSION).tar.gz wmbattery_$(VERSION).tar.gz
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbattery.git



More information about the Pkg-wmaker-commits mailing list