src/world/bin/grep/Makefile

18 lines
449 B
Makefile

# Makefile - hhl - /usr/src/world/cat
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
#
progname = grep
cflags += -Wno-format-nonliteral
libs = -lbz2 -lz
binlinks += ${bindir}/egrep
binlinks += ${bindir}/fgrep
binlinks += ${bindir}/zgrep
binlinks += ${bindir}/zegrep
binlinks += ${bindir}/zfgrep
post_install = for ln in egrep fgrep zgrep zegrep zfgrep ; \
do ln -sf grep.1 ${man1dir}/$${ln}.1 ; done
include hhl.cprog.bsd.mk