diff options
author | bwarken <bwarken> | 2013-04-30 16:15:35 +0000 |
---|---|---|
committer | bwarken <bwarken> | 2013-04-30 16:15:35 +0000 |
commit | 9603564a8d476882370ac865b04089b3df3d12b0 (patch) | |
tree | e0cf7b913883b1f6600351d9bdaf0fc31b710ab2 | |
parent | 998cad027ffaa0ef79c3d22015c80f3c768a6be1 (diff) | |
download | groff-9603564a8d476882370ac865b04089b3df3d12b0.tar.gz |
src/roff/groff/Makefile.sub: Use $(GREP) instead of `egrep'. Don't use
`$(CCSRCS)' any more as prerequisits..
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/roff/groff/Makefile.sub | 12 |
2 files changed, 11 insertions, 6 deletions
@@ -1,5 +1,10 @@ 2013-04-30 Bernd Warken <groff-bernd.warken-72@web.de> + * src/roff/groff/Makefile.sub: Replace `egrep' by `$(GREP)'. + commands. Don't use $(CCSRCS) any more. + +2013-04-30 Bernd Warken <groff-bernd.warken-72@web.de> + * Makefile.in, m4/groff.m4: Add `@libprogramdir@' and `$libprogramdir' (usually `/usr/local/lib/groff'). Change `$libdir/groff' into $libprogramdir for several `groff' programs. 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 $@ |