aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-04 16:48:40 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-04 16:48:40 +0000
commit75aca5ad3e85ade2d79a3fe38427fc9d95854737 (patch)
tree38fd963c38c0a806bc12bd2970f8e27ec57a33ca
parent[w3m-dev 02616] (diff)
downloadw3m-75aca5ad3e85ade2d79a3fe38427fc9d95854737.tar.gz
w3m-75aca5ad3e85ade2d79a3fe38427fc9d95854737.zip
[w3m-dev 02617]
From: Fumitoshi UKAI <ukai@debian.or.jp>
-rw-r--r--ChangeLog11
-rw-r--r--scripts/.cvsignore1
-rw-r--r--scripts/Makefile12
3 files changed, 20 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6e01598..2b1dfc1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2001-12-05 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * [w3m-dev 02617]
+ * scripts/Makefile (HELP_LIBS): added
+ * scripts/Makefile (all): depends $(HELP_LIBS)
+ * scripts/Makefile (install): depends $(HELP_LIBS)
+ * scripts/Makefile (w3mhelp-funcname.pl): split from helplibs
+ * scripts/Makefile (w3mhelp-funcdesc.pl): split from helplibs, touch
+ * scripts/Makefile (clean): clean *-stamp
+ * scripts/.cvsignore: add w3mhelp-funcdesc-stamp
+
2001-12-05 Tsutomu Okada <okada@furuno.co.jp>
* [w3m-dev 02616]
diff --git a/scripts/.cvsignore b/scripts/.cvsignore
index a032cb9..c9db16e 100644
--- a/scripts/.cvsignore
+++ b/scripts/.cvsignore
@@ -3,3 +3,4 @@ w3mhelp.cgi
w3mhelp-funcdesc.en.pl
w3mhelp-funcdesc.ja.pl
w3mhelp-funcname.pl
+w3mhelp-funcdesc-stamp
diff --git a/scripts/Makefile b/scripts/Makefile
index 4be82c5..7b0bcaa 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -6,6 +6,7 @@ LIB_DIR = $(prefix)/lib/w3m
HELP_DIR = $(prefix)/lib/w3m
LIB_TARGETS = dirlist.cgi w3mhelp.cgi
+HELP_LIBS = w3mhelp-funcname.pl w3mhelp-funcdesc.pl
MKDIR = mkdir -p
INSTALL = install -c
@@ -18,7 +19,7 @@ DOCDIRS = doc:en_English doc-jp:ja_Japanese
.SUFFIXES: .in
-all: $(LIB_TARGETS) helplibs
+all: $(LIB_TARGETS) $(HELP_LIBS)
.in:
@echo "generating $@..."
@@ -27,7 +28,7 @@ all: $(LIB_TARGETS) helplibs
@chmod +x $@
@echo done
-helplibs:
+w3mhelp-funcname.pl: w3mhelp-funcname.pl.in ../funcname.tab ../doc/keymap.default ../doc/keymap.lynx
@echo "generating w3mhelp-funcname.pl..."
@echo '%funcname = (' > w3mhelp-funcname.pl
@while read fname fid; do \
@@ -46,6 +47,8 @@ helplibs:
@cat w3mhelp-funcname.pl.in >> w3mhelp-funcname.pl
@echo "done"
+w3mhelp-funcdesc.pl: w3mhelp-funcdesc-stamp
+w3mhelp-funcdesc-stamp:
@echo "generating w3mhelp-funcdesc*.pl..."
@for dirlang in $(DOCDIRS); do \
dir=`expr "$$dirlang" : "\(.*\):.*"`; \
@@ -58,8 +61,9 @@ helplibs:
cat w3mhelp-funcdesc.$$lang.pl.in >> w3mhelp-funcdesc.$$lang.pl; \
done
@echo done
+ touch w3mhelp-funcdesc-stamp
-install: $(LIB_TARGETS)
+install: $(LIB_TARGETS) $(HELP_LIBS)
-$(MKDIR) $(DESTDIR)$(LIB_DIR)
-$(MKDIR) $(DESTDIR)$(HELP_DIR)
for file in $(LIB_TARGETS); \
@@ -82,4 +86,4 @@ uninstall:
done
clean:
- -rm -f $(LIB_TARGETS) w3mhelp-*.pl
+ -rm -f $(LIB_TARGETS) w3mhelp-*.pl *-stamp