summaryrefslogtreecommitdiff
path: root/src/roff/groff/Makefile.sub
diff options
context:
space:
mode:
Diffstat (limited to 'src/roff/groff/Makefile.sub')
-rw-r--r--src/roff/groff/Makefile.sub5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/roff/groff/Makefile.sub b/src/roff/groff/Makefile.sub
index 94e2f09e..9c10c28e 100644
--- a/src/roff/groff/Makefile.sub
+++ b/src/roff/groff/Makefile.sub
@@ -40,12 +40,11 @@ GROFF_OPTS_OUTPUT=groff_opts_no_arg.txt \
MOSTLYCLEANADD=groff_opts.tmp $(GROFF_OPTS_OUTPUT)
RM=rm -f
-EGREP=egrep
.PHONY: all
-all: groff.cpp groff_opts.tmp $(GROFF_OPTS_OUTPUT)
+all: $(CCSRCS) groff_opts.tmp $(GROFF_OPTS_OUTPUT)
-groff_opts.tmp: groff.cpp
+groff_opts.tmp: $(CCSRCS)
@$(EGREP) -e ':.*:.*:' $< \
| sed -e 's/[ \t",]//g' > $@
@echo -n 'groff options: '