forked from ports/contrib
37 lines
1.5 KiB
Diff
37 lines
1.5 KiB
Diff
--- Makefile.orig 2008-08-27 08:18:54.000000000 +0200
|
|
+++ Makefile 2008-08-27 08:21:59.000000000 +0200
|
|
@@ -1,7 +1,7 @@
|
|
include version
|
|
|
|
DESTDIR=/
|
|
-CONFIG_FILE=$(DESTDIR)/etc/multitail.conf
|
|
+CONFIG_FILE=$(DESTDIR)/usr/etc/multitail.conf
|
|
|
|
DEBUG=-g # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile-arcs
|
|
LDFLAGS+=-lpanel -lncurses -lutil -lm $(DEBUG) -rdynamic
|
|
@@ -19,19 +19,15 @@ multitail_ccmalloc: $(OBJS)
|
|
ccmalloc --no-wrapper $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o ccmultitail
|
|
|
|
install: multitail
|
|
- cp multitail $(DESTDIR)/usr/bin
|
|
- cp multitail.1 $(DESTDIR)/usr/share/man/man1/multitail.1
|
|
- mkdir -p $(DESTDIR)/usr/share/doc/multitail-$(VERSION)
|
|
- cp *.txt INSTALL manual*.html $(DESTDIR)/usr/share/doc/multitail-$(VERSION)
|
|
+ install -D -m 0755 multitail $(DESTDIR)/usr/bin/multitail
|
|
+ install -D -m 0644 multitail.1 $(DESTDIR)/usr/man/man1/multitail.1
|
|
#
|
|
### COPIED multitail.conf.new, YOU NEED TO REPLACE THE multitail.conf
|
|
### YOURSELF WITH THE NEW FILE
|
|
#
|
|
- cp multitail.conf $(DESTDIR)/etc/multitail.conf.new
|
|
- mkdir -p $(DESTDIR)/etc/multitail/
|
|
- cp convert-* colors-* $(DESTDIR)/etc/multitail/
|
|
- rm -f $(DESTDIR)/usr/share/man/man1/multitail.1.gz
|
|
- gzip -9 $(DESTDIR)/usr/share/man/man1/multitail.1
|
|
+ install -D -m 0644 multitail.conf $(DESTDIR)/usr/etc/multitail.conf
|
|
+ install -d $(DESTDIR)/usr/etc/multitail
|
|
+ cp convert-* colors-* $(DESTDIR)/usr/etc/multitail
|
|
#
|
|
# There's a mailinglist!
|
|
# Send an e-mail to minimalist@vanheusden.com with in the subject
|