forked from Lainports/freebsd-ports
logfiles in the Common Log Format and merge them into a single log, sorted by date, sent to standard output. This is useful if you're running a single website on multiple hosts and using round-robin DNS to do load distribution. With multisort, you can take the various logfiles from each server and merge them into a single file for analysis. WWW: http://www.xach.com/multisort/ PR: ports/127906 Submitted by: Dennis Herrmann <adox at mcx2.org>
18 lines
400 B
Text
18 lines
400 B
Text
--- Makefile.orig 1999-10-28 21:04:24.000000000 +0200
|
|
+++ Makefile 2008-10-07 18:48:41.000000000 +0200
|
|
@@ -1,9 +1,10 @@
|
|
-#
|
|
-# $Id: Makefile,v 1.1 1999/01/14 19:05:35 xach Exp $
|
|
-#
|
|
-
|
|
+PREFIX?= /usr/local
|
|
CC = gcc
|
|
CFLAGS = -Wall -g -O2
|
|
|
|
-multisort: multisort.c
|
|
+all:
|
|
$(CC) $(CFLAGS) -o multisort multisort.c
|
|
+
|
|
+install:
|
|
+ @mkdir -p ${DESTDIR}${PREFIX}/bin
|
|
+ install -m 755 multisort ${PREFIX}/bin
|