r709 - /trunk/packages/vim-spellfiles/debian/rules
zack at users.alioth.debian.org
zack at users.alioth.debian.org
Mon Jun 5 22:31:27 UTC 2006
Author: zack
Date: Mon Jun 5 22:31:27 2006
New Revision: 709
URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=709
Log:
added export target
Modified:
trunk/packages/vim-spellfiles/debian/rules
Modified: trunk/packages/vim-spellfiles/debian/rules
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/debian/rules?rev=709&op=diff
==============================================================================
--- trunk/packages/vim-spellfiles/debian/rules (original)
+++ trunk/packages/vim-spellfiles/debian/rules Mon Jun 5 22:31:27 2006
@@ -5,6 +5,7 @@
export DH_OPTIONS
LOCPATH = $(CURDIR)/debian/locales
+VERSION = 20060604
SPELL_LANGS =
SPELL_LANGS += af
@@ -82,6 +83,23 @@
cd upstream && tar xzf dictionaries.tar.gz
touch $@
+export:
+ rm -rf ../vim-spellfiles-$(VERSION)
+ mkdir ../vim-spellfiles-$(VERSION)
+ svn export debian ../vim-spellfiles-$(VERSION)/debian
+ svn export patches ../vim-spellfiles-$(VERSION)/patches
+ svn export upstream ../vim-spellfiles-$(VERSION)/upstream
+ for tarball in dictionaries vim-runtime-spell ; do \
+ cp upstream/$$tarball.tar.gz \
+ ../vim-spellfiles-$(VERSION)/upstream/ ; \
+ done
+ cd ../ \
+ && test -f vim-spellfiles_$(VERSION).orig.tar.gz \
+ || tar cvzf vim-spellfiles_$(VERSION).orig.tar.gz \
+ vim-spellfiles-$(VERSION)/upstream/
+ cd ../ \
+ && dpkg-source -b vim-spellfiles-$(VERSION)
+
sources-dictionaries:
cd upstream && aap download
cd upstream && tar cvzf dictionaries.tar.gz `aap show`
More information about the pkg-vim-maintainers
mailing list