diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-12-08 16:15:17 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-12-08 16:15:17 +0000 |
commit | a9e74489706e91b1964f6196f24a5d716d2978d5 (patch) | |
tree | 066c612baaf7781d33b6493b505cb8be01d96ee7 /Makefile.in | |
parent | [w3m-dev 04021] Deeply nested table (diff) | |
download | w3m-a9e74489706e91b1964f6196f24a5d716d2978d5.tar.gz w3m-a9e74489706e91b1964f6196f24a5d716d2978d5.zip |
[w3m-dev 04022] $^
* Makefile.in (DEFUNS): added
funcname.tab: don't use $^
* w3mimg/Makefile.in (w3mimg.a): don't use $^
From: YONETANI Tomokazu <qhwt@myrealbox.com>
Diffstat (limited to '')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 81f7da0..5d659a2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -115,6 +115,7 @@ HELP_TARGET=w3mhelp.html HELP_ALLFILES=w3mhelp-w3m_en.html w3mhelp-w3m_ja.html \ w3mhelp-lynx_en.html w3mhelp-lynx_ja.html +DEFUNS=main.c menu.c SCRIPTSUBDIRS= scripts SUBDIRS = $(SCRIPTSUBDIRS) w3mimg libwc po .PHONY: $(SUBDIRS) @@ -139,9 +140,9 @@ keybind.o: funcname2.h keybind_lynx.o: funcname2.h parsetagx.o: html.c -funcname.tab: main.c menu.c +funcname.tab: $(DEFUNS) (echo '#define DEFUN(x,y,z) x y';\ - sed -ne '/^DEFUN/{p;n;/^[ ]/p;}' $^) | $(CPP) - | \ + sed -ne '/^DEFUN/{p;n;/^[ ]/p;}' $(DEFUNS)) | $(CPP) - | \ awk '$$1 ~ /^[_A-Za-z]/ { \ for (i=2;i<=NF;i++) { print $$i, $$1} \ }' > $@ |