From 9603564a8d476882370ac865b04089b3df3d12b0 Mon Sep 17 00:00:00 2001 From: bwarken Date: Tue, 30 Apr 2013 16:15:35 +0000 Subject: src/roff/groff/Makefile.sub: Use $(GREP) instead of `egrep'. Don't use `$(CCSRCS)' any more as prerequisits.. --- src/roff/groff/Makefile.sub | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/roff/groff/Makefile.sub b/src/roff/groff/Makefile.sub index 9c10c28e..c862954f 100644 --- a/src/roff/groff/Makefile.sub +++ b/src/roff/groff/Makefile.sub @@ -42,25 +42,25 @@ MOSTLYCLEANADD=groff_opts.tmp $(GROFF_OPTS_OUTPUT) RM=rm -f .PHONY: all -all: $(CCSRCS) groff_opts.tmp $(GROFF_OPTS_OUTPUT) +all: $(srcdir)/groff.cpp groff_opts.tmp $(GROFF_OPTS_OUTPUT) -groff_opts.tmp: $(CCSRCS) - @$(EGREP) -e ':.*:.*:' $< \ - | sed -e 's/[ \t",]//g' > $@ +groff_opts.tmp: $(srcdir)/cpp + @$(GREP) -e ':.*:.*:' $< \ + | sed -e 's/[ \t",]//g' > $@ @echo -n 'groff options: ' @cat $@ groff_opts_no_arg.txt: groff_opts.tmp @$(RM) $@ @cat $< \ - | sed -e 's/[a-zA-Z]://g' > $@ + | sed -e 's/[a-zA-Z]://g' > $@ @echo -n 'no arg: ' @cat $@ groff_opts_with_arg.txt: groff_opts_no_arg.txt @$(RM) $@ @cat groff_opts.tmp \ - | sed "s/[`cat $<`:]//g" > $@ + | sed "s/[`cat $<`:]//g" > $@ @echo -n 'with arg: ' @cat $@ -- cgit v1.2.1