/[grep]/grep/src/Makefile.am
ViewVC logotype

Diff of /grep/src/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.31 by kasal, Tue Nov 23 12:33:28 2004 UTC revision 1.32 by kasal, Tue Nov 23 12:49:36 2004 UTC
# Line 23  OPTION_for_egrep = -E Line 23  OPTION_for_egrep = -E
23  OPTION_for_fgrep = -F  OPTION_for_fgrep = -F
24    
25  egrep fgrep: Makefile  egrep fgrep: Makefile
26          echo '#!/bin/sh' >$@          (echo '#!/bin/sh'; \
27          echo 'exec grep $(OPTION_for_$@) $${1+"$$@"}' >>$@          echo 'case $$0 in' ; \
28            echo '  */*) dir=$${0%/*}/ ;;' ; \
29            echo '  *) dir="" ;;' ; \
30            echo 'esac' ; \
31            echo 'exec $${dir}grep $(OPTION_for_$@) $${1+"$$@"}' ) >$@
32          chmod a+x $@          chmod a+x $@

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26