Deleted Added
full compact
Makefile (275077) Makefile (276551)
1# $FreeBSD: head/gnu/usr.bin/grep/Makefile 275077 2014-11-25 21:18:18Z bapt $
1# $FreeBSD: head/gnu/usr.bin/grep/Makefile 276551 2015-01-02 18:45:03Z bapt $
2
3.include <src.opts.mk>
4
5GREP_LIBZ=YES
6
7.if ${MK_BSD_GREP} != "yes"
8PROG= grep
9.else

--- 30 unchanged lines hidden (view full) ---

40 ${BINDIR}/grep ${BINDIR}/zfgrep
41MLINKS+=grep.1 zgrep.1 grep.1 zegrep.1 grep.1 zfgrep.1
42.endif
43.endif
44
45gnugrep.1: grep.1
46 cp ${.ALLSRC} ${.TARGET}
47
2
3.include <src.opts.mk>
4
5GREP_LIBZ=YES
6
7.if ${MK_BSD_GREP} != "yes"
8PROG= grep
9.else

--- 30 unchanged lines hidden (view full) ---

40 ${BINDIR}/grep ${BINDIR}/zfgrep
41MLINKS+=grep.1 zgrep.1 grep.1 zegrep.1 grep.1 zfgrep.1
42.endif
43.endif
44
45gnugrep.1: grep.1
46 cp ${.ALLSRC} ${.TARGET}
47
48SUBDIR+=doc
49
50check: all
51 @failed=0; total=0; \
52 for tst in ${TESTS}; do \
53 total=$$(($$total+1)); \
54 if GREP=${.OBJDIR}/${PROG} srcdir=${.CURDIR}/tests \
55 ${.CURDIR}/tests/$$tst; then \
56 echo "PASS: $$tst"; \
57 else \

--- 14 unchanged lines hidden ---
48check: all
49 @failed=0; total=0; \
50 for tst in ${TESTS}; do \
51 total=$$(($$total+1)); \
52 if GREP=${.OBJDIR}/${PROG} srcdir=${.CURDIR}/tests \
53 ${.CURDIR}/tests/$$tst; then \
54 echo "PASS: $$tst"; \
55 else \

--- 14 unchanged lines hidden ---