r1234 - in /trunk/packages/vim/debian: changelog rules

jamessan at users.alioth.debian.org jamessan at users.alioth.debian.org
Sat Mar 15 15:55:05 UTC 2008


Author: jamessan
Date: Sat Mar 15 15:55:04 2008
New Revision: 1234

URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=1234
Log:
Only run 'make distclean' if configure has already been run.

Modified:
    trunk/packages/vim/debian/changelog
    trunk/packages/vim/debian/rules

Modified: trunk/packages/vim/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/changelog?rev=1234&op=diff
==============================================================================
--- trunk/packages/vim/debian/changelog (original)
+++ trunk/packages/vim/debian/changelog Sat Mar 15 15:55:04 2008
@@ -21,6 +21,7 @@
     - Only enable gpm on linux-gnu systems.
     - Automatically specify the Vim version when generating helpztags.1.
     - Add .NOTPARALLEL target.
+    - Only run 'make distclean' if configure has already been run.
   * debian/control:
     - Remove the [!hurd-i386] qualifier from libgnomeui-dev Build-Depend.
 

Modified: trunk/packages/vim/debian/rules
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/rules?rev=1234&op=diff
==============================================================================
--- trunk/packages/vim/debian/rules (original)
+++ trunk/packages/vim/debian/rules Sat Mar 15 15:55:04 2008
@@ -231,9 +231,8 @@
 configure-stamp-%:
 	dh_testdir
 	@echo "*** DEBIAN *** CONFIGURING VARIANT $*"
-	$(MAKE) -C $(SRCDIR) clean
+	if test -f $(SRCDIR)/src/auto/config.cache; then make -C $(SRCDIR) distclean; fi
 	cd $(SRCDIR) \
-	  && make distclean \
 	  && LDFLAGS="-Wl,--as-needed" CFLAGS="$(CFLAGS_$(*))" ./configure $(CFGFLAGS_$(*))
 	touch $@
 




More information about the pkg-vim-maintainers mailing list