diff options
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} \ }' > $@ |