[SCM] Vim packaging branch, debian, updated. upstream/7.1.285-73-g952ee7a
James Vega
jamessan at debian.org
Tue Apr 8 06:46:15 UTC 2008
The following commit has been merged in the debian branch:
commit 3df35a08e31b90091deabbf32693004b3543d973
Author: James Vega <jamessan at debian.org>
Date: Tue Apr 8 01:55:53 2008 -0400
Add update-orig target to debian/rules.
Convenience target to tag upstream, create orig.tar.gz with upstream
patches, and pristine-tar commit the latest orig.tar.gz.
Signed-off-by: James Vega <jamessan at debian.org>
diff --git a/debian/rules b/debian/rules
index 7ccfb0e..c982014 100755
--- a/debian/rules
+++ b/debian/rules
@@ -139,6 +139,15 @@ DOT_IN_DEPS += debian/runtime/debian.vim
# nothing to do per default
all:
+update-orig:
+ if git rev-parse --git-dir >/dev/null 2>&1; then \
+ git checkout upstream; \
+ git tag upstream/$(DEBVERSION); \
+ git archive --format=tar --prefix=$(NAME)-$(DEBVERSION)/ upstream | gzip > $(ORIG_SOURCE); \
+ pristine-tar commit $(ORIG_SOURCE); \
+ git checkout debian; \
+ fi
+
$(ORIG_SOURCE):
if git rev-parse --git-dir >/dev/null 2>&1; then \
pristine-tar checkout $@; \
@@ -444,7 +453,7 @@ binary-arch-vim-dbg:
dh_builddeb
binary: beginlog binary-indep binary-arch endlog
-.PHONY: patch unpatch extract clean build install binary-indep binary-arch binary get-orig-source check-tarball
+.PHONY: patch unpatch extract clean build install binary-indep binary-arch binary get-orig-source check-tarball update-orig
.PHONY: beginlog endlog
beginlog:
--
Vim packaging
More information about the pkg-vim-maintainers
mailing list