r462 - trunk/vim/debian

Stefano Zacchiroli zack at costa.debian.org
Sun Jan 15 15:58:18 UTC 2006


Author: zack
Date: 2006-01-15 15:58:17 +0000 (Sun, 15 Jan 2006)
New Revision: 462

Modified:
   trunk/vim/debian/rules
Log:
export DH_OPTIONS each time it is redefined on a target specific basis, avoides FTBFS (vimtutor: no such file or directory, when installing vim-tiny variant)


Modified: trunk/vim/debian/rules
===================================================================
--- trunk/vim/debian/rules	2006-01-15 12:59:34 UTC (rev 461)
+++ trunk/vim/debian/rules	2006-01-15 15:58:17 UTC (rev 462)
@@ -261,7 +261,7 @@
 	dh_testroot
 	touch $@
 
-install-stamp-vim-basic: DH_OPTIONS=-pvim-runtime -pvim-common -pvim-gui-common -pvim -pvim-doc
+install-stamp-vim-basic: export DH_OPTIONS=-pvim-runtime -pvim-common -pvim-gui-common -pvim -pvim-doc
 install-stamp-vim-basic: DESTDIR=$(CURDIR)/debian/tmp
 install-stamp-vim-basic: build-stamp-vim-basic
 	dh_testdir
@@ -321,7 +321,7 @@
 	touch $@
 
 # the other variants only include the binary
-install-stamp-%: DH_OPTIONS=-p$*
+install-stamp-%: export DH_OPTIONS=-p$*
 install-stamp-%: DESTDIR=$(CURDIR)/debian/$*
 install-stamp-%: build-stamp-%
 	dh_testdir
@@ -353,7 +353,7 @@
 	rm -f install-stamp*
 	dh_clean
 
-binary-indep: DH_OPTIONS=-i
+binary-indep: export DH_OPTIONS=-i
 binary-indep: build install
 	dh_testdir
 	dh_testroot
@@ -368,7 +368,7 @@
 binary-arch: build install
 binary-arch: $(foreach v,$(VARIANTS),binary-arch-$(v))
 
-binary-arch-vim-basic: DH_OPTIONS=-pvim-common -pvim-gui-common -pvim
+binary-arch-vim-basic: export DH_OPTIONS=-pvim-common -pvim-gui-common -pvim
 binary-arch-vim-basic:
 	dh_testdir
 	dh_testroot
@@ -382,7 +382,7 @@
 	dh_md5sums
 	dh_builddeb
 
-binary-arch-%: DH_OPTIONS=-p$* $(foreach v,$(VARIANTS_SKIP),-N$(v))
+binary-arch-%: export DH_OPTIONS=-p$* $(foreach v,$(VARIANTS_SKIP),-N$(v))
 binary-arch-%: build install
 	dh_testdir
 	dh_testroot




More information about the pkg-vim-maintainers mailing list