commit 399c0b5ca8dec9f6c19a11fe8c217b0606ddc674
parent a6231b104be79219f8dea538334f44e21d8997ac
Author: ukai <ukai>
Date: Wed, 12 Feb 2003 17:22:33 +0000
XMakefile (install-core): fix for broken non-POSIX /bin/sh
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,7 @@
+2003-02-13 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * XMakefile (install-core): fix for broken non-POSIX /bin/sh
+
2003-02-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev-en 00868] fix mark_all_pages
diff --git a/XMakefile b/XMakefile
@@ -132,8 +132,7 @@ install-core: $(TARGETS)
$(INSTALL_DATA) $(HELP_FILE) $(DESTDIR)$(HELP_DIR)/$(HELP_TARGET)
$(INSTALL_DATA) $(MAN1) $(DESTDIR)$(MAN1_DIR)/$(MAN1_TARGET)
$(INSTALL_DATA) $(MAN1_JA) $(DESTDIR)$(MAN1_JA_DIR)/$(MAN1_TARGET)
- test "x$(AUXBIN_TARGETS)" != "x" && \
- for file in $(AUXBIN_TARGETS); \
+ targets="$(AUXBIN_TARGETS)"; for file in $$targets; \
do \
case $$file in \
$(IMGDISPLAY)) $(INSTALL_W3MIMGDISPLAY) $$file $(DESTDIR)$(AUXBIN_DIR)/$$file;; \