blob: 91007c7cc17099549aaa897abd1a7d137beb7b77 (
plain)
1 --- Makefile.orig 2008-08-27 08:18:54.000000000 +0200
2 +++ Makefile 2008-08-27 08:21:59.000000000 +0200
3 @@ -1,7 +1,7 @@
4 include version
5
6 DESTDIR=/
7 -CONFIG_FILE=$(DESTDIR)/etc/multitail.conf
8 +CONFIG_FILE=$(DESTDIR)/usr/etc/multitail.conf
9
10 DEBUG=-g # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile-arcs
11 LDFLAGS+=-lpanel -lncurses -lutil -lm $(DEBUG) -rdynamic
12 @@ -19,19 +19,15 @@ multitail_ccmalloc: $(OBJS)
13 ccmalloc --no-wrapper $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o ccmultitail
14
15 install: multitail
16 - cp multitail $(DESTDIR)/usr/bin
17 - cp multitail.1 $(DESTDIR)/usr/share/man/man1/multitail.1
18 - mkdir -p $(DESTDIR)/usr/share/doc/multitail-$(VERSION)
19 - cp *.txt INSTALL manual*.html $(DESTDIR)/usr/share/doc/multitail-$(VERSION)
20 + install -D -m 0755 multitail $(DESTDIR)/usr/bin/multitail
21 + install -D -m 0644 multitail.1 $(DESTDIR)/usr/man/man1/multitail.1
22 #
23 ### COPIED multitail.conf.new, YOU NEED TO REPLACE THE multitail.conf
24 ### YOURSELF WITH THE NEW FILE
25 #
26 - cp multitail.conf $(DESTDIR)/etc/multitail.conf.new
27 - mkdir -p $(DESTDIR)/etc/multitail/
28 - cp convert-* colors-* $(DESTDIR)/etc/multitail/
29 - rm -f $(DESTDIR)/usr/share/man/man1/multitail.1.gz
30 - gzip -9 $(DESTDIR)/usr/share/man/man1/multitail.1
31 + install -D -m 0644 multitail.conf $(DESTDIR)/usr/etc/multitail.conf
32 + install -d $(DESTDIR)/usr/etc/multitail
33 + cp convert-* colors-* $(DESTDIR)/usr/etc/multitail
34 #
35 # There's a mailinglist!
36 # Send an e-mail to minimalist@vanheusden.com with in the subject
|