diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-03-19 16:27:20 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-03-19 16:27:20 +0000 |
commit | 32388937884a92e30a378b1edba1a89d861621b0 (patch) | |
tree | 28ce4188807d5d56c926efb2184d60a7d835b5ea /scripts/w3mman | |
parent | func: COMMAND (diff) | |
download | w3m-32388937884a92e30a378b1edba1a89d861621b0.tar.gz w3m-32388937884a92e30a378b1edba1a89d861621b0.zip |
[w3m-dev 03137] Re: w3mman.1
* XMakefile (MAN1): added
(MAN1_JA): added
(install-core): install man
(install-scripts): pass MAN_DIR
(uninstall): uninstall man, pass MAN_DIR to subdirs
* config.h.dist (MAN_DIR): added
(MAN1_DIR): added
(MAN1_JA_DIR): added
* configure: -mandir
(config.h): add MAN_DIR, MAN1_DIR, MAN1_JA_DIR
* scripts/w3mman/Makefile (MAN1_DIR): added
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'scripts/w3mman')
-rw-r--r-- | scripts/w3mman/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/w3mman/Makefile b/scripts/w3mman/Makefile index 8adf5dd..a95f113 100644 --- a/scripts/w3mman/Makefile +++ b/scripts/w3mman/Makefile @@ -3,6 +3,7 @@ prefix = /usr/local BIN_DIR = $(prefix)/bin LIB_DIR = $(prefix)/lib/w3m MAN_DIR = $(prefix)/man +MAN1_DIR = $(MAN_DIR)/man1 DESTDIR = distdir = ./distfiles @@ -36,6 +37,7 @@ all: $(TARGETS) $(LIB_TARGETS) $(MAN_TARGETS) install: $(TARGETS) $(LIB_TARGETS) $(MAN_TARGETS) -$(MKDIR) $(DESTDIR)$(BIN_DIR) -$(MKDIR) $(DESTDIR)$(LIB_DIR) + -$(MKDIR) $(DESTDIR)$(MAN1_DIR) for file in $(TARGETS); \ do \ $(INSTALL_SCRIPT) $$file $(DESTDIR)$(BIN_DIR); \ @@ -46,7 +48,7 @@ install: $(TARGETS) $(LIB_TARGETS) $(MAN_TARGETS) done for file in $(MAN1_TARGETS); \ do \ - $(INSTALL_MAN) $$file $(DESTDIR)$(MAN_DIR)/man1; \ + $(INSTALL_MAN) $$file $(DESTDIR)$(MAN1_DIR); \ done uninstall: @@ -58,9 +60,9 @@ uninstall: do \ rm -f $(LIB_DIR)/$$file; \ done - -for file in $(MAN_TARGETS); \ + -for file in $(MAN1_TARGETS); \ do \ - rm -f $(MAN_DIR)/$$file; \ + rm -f $(MAN1_DIR)/$$file; \ done clean: |