ongrep

A cleaned up fork of ngrep for OpenBSD
git clone git://git.sgregoratto.me/ongrep
Log | Files | Refs | README | LICENSE

commit 13dd4f236c6289e0920c8cbbc93ad1a5c148bb77
parent a9fe056e373d0829f1a463fb97ba9ffa88b65904
Author: Jordan Ritter <jpr5@darkridge.com>
Date:   Wed,  6 Sep 2017 12:20:23 -0700

Hackfix broken clean targets when using system PCRE

Diffstat:
MMakefile.in | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in @@ -51,11 +51,11 @@ install: $(TARGET) $(CC) $(CPPFLAGS) $(CFLAGS) -g -c $< clean: - $(MAKE) -C $(REGEX_DIR) clean + test -n "$(REGEX_DIR)" && $(MAKE) -C $(REGEX_DIR) clean || exit 0 rm -f *~ $(OBJS) $(REGEX_OBJS) $(TARGET) $(TARGET).static distclean: clean - $(MAKE) -C $(REGEX_DIR) distclean + test -n "$(REGEX_DIR)" && $(MAKE) -C $(REGEX_DIR) distclean || exit 0 rm -f config.status config.cache config.log config.h Makefile $(REGEX_OBJS): $(REGEX_OBJS:.o=.c) $(REGEX_DIR)/*.h