summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbwarken <bwarken>2013-04-30 16:15:35 +0000
committerbwarken <bwarken>2013-04-30 16:15:35 +0000
commit9603564a8d476882370ac865b04089b3df3d12b0 (patch)
treee0cf7b913883b1f6600351d9bdaf0fc31b710ab2 /src
parent998cad027ffaa0ef79c3d22015c80f3c768a6be1 (diff)
downloadgroff-9603564a8d476882370ac865b04089b3df3d12b0.tar.gz
src/roff/groff/Makefile.sub: Use $(GREP) instead of `egrep'. Don't use
`$(CCSRCS)' any more as prerequisits..
Diffstat (limited to 'src')
-rw-r--r--src/roff/groff/Makefile.sub12
1 files changed, 6 insertions, 6 deletions
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 $@