changeset 2479:ea2cbad0ef60 octave-forge

fix for install target, where /home/adb014 was incorrectly interpreted
author adb014
date Tue, 12 Sep 2006 20:31:38 +0000
parents 2fbc50765280
children 115f2f447a67
files packages/Makefile
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/packages/Makefile	Tue Sep 12 20:29:44 2006 +0000
+++ b/packages/Makefile	Tue Sep 12 20:31:38 2006 +0000
@@ -8,8 +8,7 @@
 else
   LOADPATH = $(MPATH)//:$(OPATH)//:
 endif
-HOME=`pwd`
-RUN_OCTAVE= HOME=$(HOME) $(TOPDIR)/admin/run_forge $(OCTAVE) -H -q --no-site-file
+RUN_OCTAVE= HOME=`pwd` $(TOPDIR)/admin/run_forge $(OCTAVE) -H -q --no-site-file
 PKGDIRS = $(filter-out packages, $(patsubst ../%/, %, $(dir $(wildcard ../*/Makefile))))
 PACKAGES = $(filter $(patsubst %,%/%,$(PKGDIRS)), $(wildcard */*.tar.gz))
 TESTLOG=$(TOPDIR)/packages/fntests.log
@@ -42,12 +41,13 @@
 	@rm $(TESTLOG)
 
 install:
-	@cmd="pkg('install'"; \
+	@echo "***  INSTALLING ALL PACKAGES  ***"; \
+	echo  "*** This is likely to be long ***"; \
+	cmd="pkg('install'"; \
 	for _pkg in $(PACKAGES); do \
 	  cmd="$$cmd,'$$_pkg'"; \
 	done; \
 	cmd="$$cmd);"; \
-	echo $$cmd; \
 	octave -H -q --eval "$$cmd;"
 
 # No spaces in eval argument please!!