[freeorion] 04/10: Remove get-get-snapshot target again.
Markus Koschany
apo-guest at moszumanska.debian.org
Sat Aug 8 22:55:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository freeorion.
commit e6c0b6cef9da73ce10e96db8034898716abbbd42
Author: Markus Koschany <apo at gambaru.de>
Date: Thu Jul 30 23:35:09 2015 +0200
Remove get-get-snapshot target again.
---
debian/rules | 32 +-------------------------------
1 file changed, 1 insertion(+), 31 deletions(-)
diff --git a/debian/rules b/debian/rules
index 21e1cf3..fa44aab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,11 +2,7 @@
#export DH_VERBOSE=1
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
-PKD = $(abspath $(dir $(MAKEFILE_LIST)))
-VER := $(shell dpkg-parsechangelog -l$(PKD)/changelog -SVersion | cut -d- -f1)
WEAK_HOSTS := armel armhf mips mipsel sparc
-UURL := https://github.com/freeorion/freeorion.git
-PKG := freeorion
ifneq (,$(findstring $(DEB_HOST_ARCH),$(WEAK_HOSTS)))
MAX := 1
@@ -48,31 +44,5 @@ override_dh_python2:
dh_python2 -pfreeorion-data /usr/share/games
get-orig-source:
- uscan --download-current-version --force-download --no-symlink
-
-.PHONY: get-git-snapshot
-## http://wiki.debian.org/onlyjob/get-orig-source
-get-git-snapshot: $(PKG)_$(VER).orig.tar.xz
- @
-
-$(PKG)_$(VER).orig.tar.xz:
- @echo "# Cloning upstream git repository..."
- git clone $(UURL) $(PKG)-$(VER)
- @echo "# Clean-up..."
- cd $(PKG)-$(VER) \
- && for F in $$(git ls-tree -r --name-only HEAD); \
- do touch --no-dereference -d "$$(git log -1 --format="%ai" -- "$$F")" "$$F"; done \
- && $(RM) -r -v \
- msvc2010 \
- msvc2013 \
- Xcode \
- Installer \
- default/*.ttf \
- .git/
- @echo "# Packing..."
- find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \
- | XZ_OPT="-6v" tar -caf "$(PKG)_$(VER).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \
- && $(RM) -r "$(PKG)-$(VER)"
-
-
+ uscan --verbose --download-current-version --force-download
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/freeorion.git
More information about the Pkg-games-commits
mailing list