From f5563d8240be0b355c53588139b9d1674676c691 Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Sun, 4 Aug 2013 05:49:48 +1000 Subject: New upstream release [0.58.1] + changelog summary --- debian/rules | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index fd15757..0adb695 100755 --- a/debian/rules +++ b/debian/rules @@ -43,7 +43,7 @@ override_dh_builddeb: PKD = $(abspath $(dir $(MAKEFILE_LIST))) PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source)) VER ?= $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{Version:\s*([\d\.]+)}') -DTYPE = +repack +DTYPE = .PHONY: get-orig-source get-orig-source: $(PKG)_$(VER)$(DTYPE).orig.tar.xz @ @@ -51,15 +51,3 @@ get-orig-source: $(PKG)_$(VER)$(DTYPE).orig.tar.xz $(PKG)_$(VER)$(DTYPE).orig.tar.xz: @echo "# Downloading..." uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(VER) $(PKD) - $(if $(wildcard $(PKG)-$(VER)),$(error $(PKG)-$(VER) exist, aborting..)) - @echo "# Extracting..." - mkdir $(PKG)-$(VER) \ - && tar -xf $(PKG)_$(VER).orig.tar.* --directory $(PKG)-$(VER) --strip-components 1 \ - || $(RM) -r $(PKG)-$(VER) - @echo "# Clean-up..." - cd $(PKG)-$(VER) \ - && $(RM) -r -v \ - include/psmacros.inc - @echo "# Packing..." - XZ_OPT="-6v" tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.xz" "$(PKG)-$(VER)" \ - && $(RM) -r "$(PKG)-$(VER)" -- cgit