commit 8bbfc5b837a45e8b0b6696806175503e218ab91b
parent eac7890991d17909469d2ab6bd2e5db1a7df089c
Author: ukai <ukai>
Date: Wed, 13 Nov 2002 15:53:44 +0000
[w3m-dev 03428] install manual as w3m.exe.1 on Cygwin
* XMakefile (MAN1_TARGET): added
(HELP_TARGET): added
(install): use MAN1_TARGET, HELP_TARGET
(uninstall): use MAN1_TARGET, uninstall HELP_TARGET
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat:
2 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,13 @@
2002-11-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+ * [w3m-dev 03428] install manual as w3m.exe.1 on Cygwin
+ * XMakefile (MAN1_TARGET): added
+ (HELP_TARGET): added
+ (install): use MAN1_TARGET, HELP_TARGET
+ (uninstall): use MAN1_TARGET, uninstall HELP_TARGET
+
+2002-11-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
* [w3m-dev 03427] Re: Select the nearest map area as default.
* map.c (newMapArea): accept sign chars
if points is not enough, return as SHAPE_UNKNOWN
diff --git a/XMakefile b/XMakefile
@@ -19,9 +19,11 @@ BOOKMARKER=w3mbookmark$(EXT)
HELPER=w3mhelperpanel$(EXT)
INFLATE=inflate$(EXT)
IMGDISPLAY=w3mimgdisplay$(EXT)
+MAN1_TARGET=w3m.1
MAN1=doc/w3m.1
MAN1_JA=doc-jp/w3m.1
TARGETS=$(TARGET) $(LIB_TARGETS) $(AUXBIN_TARGETS)
+HELP_TARGET=w3mhelp.html
HELP_ALLFILES=w3mhelp-w3m_en.html w3mhelp-w3m_ja.html \
w3mhelp-lynx_en.html w3mhelp-lynx_ja.html
@@ -127,9 +129,9 @@ install-core: $(TARGETS)
-$(MKDIR) $(DESTDIR)$(MAN1_DIR)
-$(MKDIR) $(DESTDIR)$(MAN1_JA_DIR)
$(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(BIN_DIR)/$(TARGET)
- $(INSTALL_DATA) $(HELP_FILE) $(DESTDIR)$(HELP_DIR)/w3mhelp.html
- $(INSTALL_DATA) $(MAN1) $(DESTDIR)$(MAN1_DIR)/$(TARGET).1
- $(INSTALL_DATA) $(MAN1_JA) $(DESTDIR)$(MAN1_JA_DIR)/$(TARGET).1
+ $(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)
for file in $(AUXBIN_TARGETS); \
do \
case $$file in \
@@ -177,8 +179,9 @@ uninstall:
do \
rm -f $(HELP_DIR)/$$file; \
done
- -rm -f $(MAN1_DIR)/$(TARGET).1
- -rm -f $(MAN1_JA_DIR)/$(TARGET).1
+ -rm -f $(HELP_DIR)/$(HELP_TARGET)
+ -rm -f $(MAN1_DIR)/$(MAN1_TARGET)
+ -rm -f $(MAN1_JA_DIR)/$(MAN1_TARGET)
-for dir in $(SCRIPTSUBDIRS); \
do \
(cd $$dir; $(MAKE) BIN_DIR='$(BIN_DIR)' LIB_DIR='$(LIB_DIR)' HELP_DIR='$(HELP_DIR)' MAN_DIR='$(MAN_DIR)' uninstall); \