ongrep

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

commit 1c04c357b24b97aca1f2b7efa7ed58fa7317451b
parent a0759b857397b266ffea6aab17af3290afa79aec
Author: Jordan Ritter <jpr5@darkridge.com>
Date:   Wed, 16 Feb 2005 04:07:12 +0000

changes requested for using more standardized (autoconf?) variable names
that can be overridden

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

diff --git a/Makefile.in b/Makefile.in @@ -22,8 +22,13 @@ MANPAGE=ngrep.8 prefix = @prefix@ exec_prefix = @exec_prefix@ -BINDIR = @bindir@ -MANDIR = @mandir@/man8 + +bindir = $(prefix)/bin +datadir = $(prefix)/share +mandir = $(datadir)/man + +BINDIR_INSTALL = $(prefix)/bin +MANDIR_INSTALL = $(mandir)/man8 INSTALL = ./install-sh @@ -43,8 +48,8 @@ static: $(OBJS) $(CC) $(CFLAGS) $(LDFLAGS) $(STRIPFLAG) -o $(TARGET).static -static $(OBJS) $(REGEX_OBJS) $(LIBS) install: $(TARGET) - $(INSTALL) -c -m 0755 $(TARGET) $(DESTDIR)/$(BINDIR)/$(TARGET) - $(INSTALL) -c -m 0644 $(MANPAGE) $(DESTDIR)/$(MANDIR)/$(MANPAGE) + $(INSTALL) -c -m 0755 $(TARGET) $(DESTDIR)/$(BINDIR_INSTALL)/$(TARGET) + $(INSTALL) -c -m 0644 $(MANPAGE) $(DESTDIR)/$(MANDIR_INSTALL)/$(MANPAGE) pcre: @( cd pcre-3.4; make $(REGEX_OBJS) && cp -f $(REGEX_OBJS) .. )