r453 - trunk/vim/debian

Stefano Zacchiroli zack at costa.debian.org
Mon Dec 26 11:05:08 UTC 2005


Author: zack
Date: 2005-12-26 11:05:07 +0000 (Mon, 26 Dec 2005)
New Revision: 453

Modified:
   trunk/vim/debian/changelog
   trunk/vim/debian/rules
Log:
added 'export' target to generate debian source package


Modified: trunk/vim/debian/changelog
===================================================================
--- trunk/vim/debian/changelog	2005-12-26 10:48:12 UTC (rev 452)
+++ trunk/vim/debian/changelog	2005-12-26 11:05:07 UTC (rev 453)
@@ -11,6 +11,9 @@
     target-specific variables. Fixes FTBFS on some archs.
     (closes: #344658)
 
+  [ Stefano Zacchiroli ]
+  * debian/rules: added 'export' target to generate source package
+
  -- Norbert Tretkowski <nobse at debian.org>  Mon, 26 Dec 2005 11:28:38 +0100
 
 vim (1:6.4-006+1) unstable; urgency=low

Modified: trunk/vim/debian/rules
===================================================================
--- trunk/vim/debian/rules	2005-12-26 10:48:12 UTC (rev 452)
+++ trunk/vim/debian/rules	2005-12-26 11:05:07 UTC (rev 453)
@@ -179,6 +179,22 @@
 	&& wget $(BASE_URL)/extra/$(EXTRA_TARBALL)	\
 	&& wget $(BASE_URL)/extra/$(LANG_TARBALL)
 
+export: clean
+	test -d ../build-area # this dir is in the svn repo
+	rm -rf ../build-area/vim-$(VERSION)
+	mkdir ../build-area/vim-$(VERSION)
+	svn export debian ../build-area/vim-$(VERSION)/debian
+	svn export upstream ../build-area/vim-$(VERSION)/upstream
+	for tb in $(MAIN_TARBALL) $(LANG_TARBALL) $(EXTRA_TARBALL) ; do \
+	  cp upstream/tarballs/$$tb \
+	     ../build-area/vim-$(VERSION)/upstream/tarballs/ ; \
+	done
+	cd ../build-area && \
+	  tar cvzf vim_$(VERSION).orig.tar.gz \
+	           vim-$(VERSION)/upstream/tarballs/
+	cd ../build-area && \
+	  dpkg-source -b vim-$(VERSION)
+
 extract: extract-stamp
 extract-stamp: $(foreach s,$(SOURCES),extract-stamp-$(s))
 	@for f in `find upstream/patches -type f -name '$(VERSION).*' -printf "%P\n" | grep -v .svn | sort -n` ; do\




More information about the pkg-vim-maintainers mailing list