diff options
Diffstat (limited to 'Makefile.wng')
| -rw-r--r-- | Makefile.wng | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.wng b/Makefile.wng index d33378dba7d0..9a8e57078d1c 100644 --- a/Makefile.wng +++ b/Makefile.wng @@ -112,8 +112,9 @@ lessecho: lessecho.o version.o defines.h: defines.wn copy $< $@ -funcs.h: - perl mkfuncs.pl ${LESS_SRC} > $@ +funcs.h: ${LESS_SRC} + -move funcs.h funcs.h.old + grep -h "^public [^;]*$$" ${LESS_SRC} | sed "s/$$/;/" >funcs.h help.c: less.hlp perl mkhelp.pl < $< > $@ |
