[Pkg-cli-apps-commits] r4809 - /packages/yahtzeesharp/trunk/debian/rules

sebner-guest at users.alioth.debian.org sebner-guest at users.alioth.debian.org
Sat Apr 4 20:36:57 UTC 2009


Author: sebner-guest
Date: Sat Apr  4 20:36:56 2009
New Revision: 4809

URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=4809
Log:
Finally fix get-orig-source and clean up rules file in general

Modified:
    packages/yahtzeesharp/trunk/debian/rules

Modified: packages/yahtzeesharp/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/yahtzeesharp/trunk/debian/rules?rev=4809&op=diff
==============================================================================
--- packages/yahtzeesharp/trunk/debian/rules (original)
+++ packages/yahtzeesharp/trunk/debian/rules Sat Apr  4 20:36:56 2009
@@ -31,18 +31,17 @@
 	fi
 	tar -xzf $(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz
 	rm $(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz
-	mv yahtzeesharp-*/* .
-	tar -czf $(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz $(DEB_SOURCE_NAME)-$(VERSION)
+	mkdir $(DEB_SOURCE_NAME)
+	mv -f debian yahtzeesharp-*/* $(DEB_SOURCE_NAME)
 	rm -r $(DEB_SOURCE_NAME)-$(VERSION)
+	tar -czf $(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz $(DEB_SOURCE_NAME)
 
-override_dh_auto_configure:
+override_dh_auto_configure: $(QUILT_STAMPFN)
 	dh_auto_configure -- GMCS=/usr/bin/csc CSC=/usr/bin/csc \
-	--prefix=/usr --bindir=/usr/games
+	--prefix=/usr --bindir=/usr/games	 
 
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
-	dh build
-	touch $@
+build:
+	dh $@
 
 install: install-stamp
 install-stamp: build




More information about the Pkg-cli-apps-commits mailing list