diff options
-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 $@ |