[atril] 04/07: debian/rules: Remove obsolete repacking.

Martin Wimpress flexiondotorg-guest at moszumanska.debian.org
Wed Nov 11 11:35:54 UTC 2015


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

flexiondotorg-guest pushed a commit to branch master
in repository atril.

commit ebe184da0a967e6cfdc29f05b4c3259ca201c5c6
Author: Martin Wimpress <code at flexion.org>
Date:   Mon Nov 9 21:02:54 2015 +0000

    debian/rules: Remove obsolete repacking.
---
 debian/rules | 29 ++---------------------------
 1 file changed, 2 insertions(+), 27 deletions(-)

diff --git a/debian/rules b/debian/rules
index 3bc6c20..91f84b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,5 @@
 #!/usr/bin/make -f
 
-PKD   = $(word 1,$(abspath $(dir $(MAKEFILE_LIST))))
-PKG   = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
-UVER  = $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
-DTYPE = +repack1
-VER  ?= $(subst $(DTYPE),,$(UVER))
-
-
 DHFLAGS=--parallel
 DEB_ATRIL_FLAGS=
 ifeq ($(shell dpkg-vendor --is Debian && echo yes),yes)
@@ -50,23 +43,5 @@ override_dh_strip:
 override_dh_builddeb:
 	dh_builddeb -- -Zxz -z9
 
-get-orig-source: $(PKG)_$(VER)$(DTYPE).orig.tar.xz $(info I: $(PKG)_$(VER)$(DTYPE))
-	@
-
-$(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 "# Cleaning-up..."
-	cd $(PKG)-$(VER) \
-	    && $(RM) -r -v \
-	        backend/epub/MathJax/
-	$(RM) -v $(PKG)_$(VER).orig.tar.*
-	@echo "# Packing..."
-	find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \
-	    | XZ_OPT="-6v" tar -caf "../$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \
-	    && $(RM) -r "$(PKG)-$(VER)"
+get-orig-source:
+	uscan --noconf --force-download --rename --download-current-version --destdir=..
\ No newline at end of file

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



More information about the pkg-mate-commits mailing list