aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--XMakefile6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 9405dc9..2129fe6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-03 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 02606]
+ * XMakefile (install-scripts): run pwd outside for loop
+
2001-12-03 Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02605] $(PWD) / allocStr()
diff --git a/XMakefile b/XMakefile
index 48d7a6c..8afa603 100644
--- a/XMakefile
+++ b/XMakefile
@@ -1,4 +1,4 @@
-# $Id: XMakefile,v 1.12 2001/12/02 16:26:08 ukai Exp $
+# $Id: XMakefile,v 1.13 2001/12/02 16:28:52 ukai Exp $
SRCS=main.c file.c buffer.c display.c etc.c search.c linein.c table.c local.c \
form.c map.c frame.c rc.c menu.c mailcap.c\
func.c cookie.c history.c backend.c $(KEYBIND_SRC)
@@ -105,10 +105,10 @@ all-scripts:
done
install-scripts: all-scripts
+ topdir=`pwd`; \
for dir in $(SCRIPTSUBDIRS); \
do \
- TOPDIR=`pwd`; \
- (cd $$dir; $(MAKE) PERL='$(PERL)' BIN_DIR='$(BIN_DIR)' LIB_DIR='$(LIB_DIR)' HELP_DIR='$(HELP_DIR)' DESTDIR='$(DESTDIR)' INSTALL="sh $$TOPDIR/install.sh" install); \
+ (cd $$dir; $(MAKE) PERL='$(PERL)' BIN_DIR='$(BIN_DIR)' LIB_DIR='$(LIB_DIR)' HELP_DIR='$(HELP_DIR)' DESTDIR='$(DESTDIR)' INSTALL="sh $$topdir/install.sh" install); \
done
uninstall: