2011-05-16  Sam Steingold  <s...@gnu.org>

        * Makefile (all): depend on vm only if VMDIR exists

iff --git a/lisp/Makefile b/lisp/Makefile
index 5829cf3..b383f1d 100644
--- a/lisp/Makefile
+++ b/lisp/Makefile
@@ -61,7 +59,13 @@ DEPBINS=     ${DEPSRCS:.el=.elc}
 SRCS=          bbdb.el  $(DEPSRCS)
 BINS=          bbdb.elc $(DEPBINS)
 
-all: Makefile bbdb autoloadsc vm
+ALL = Makefile bbdb autoloadsc
+
+ifneq ($(wildcard $(VMDIR)),)
+ALL = $(ALL) vm
+endif
+
+all: $(ALL)
 
 # Makefile: Makefile.in
 #      @echo "Makefile.in has changed, rerun configure!"

-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 
11.0.60900031
http://palestinefacts.org http://iris.org.il http://mideasttruth.com
http://camera.org http://dhimmi.com http://thereligionofpeace.com
Warning! Dates in calendar are closer than they appear!


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to