Commit | Line | Data |
---|---|---|
59f0d218 FF |
1 | diff -u -r ../multitail-6.4.1/Makefile ./Makefile |
2 | --- ../multitail-6.4.1/Makefile 2015-02-12 03:32:35.000000000 -0500 | |
3 | +++ ./Makefile 2015-05-18 13:02:14.796497473 -0400 | |
4 | @@ -1,14 +1,14 @@ | |
5 | include version | |
6 | ||
7 | UTF8_SUPPORT=yes | |
8 | -DESTDIR= | |
9 | -PREFIX=/usr | |
6eeaf551 | 10 | +DESTDIR=@TERMUX_PREFIX@ |
59f0d218 FF |
11 | +PREFIX= |
12 | CONFIG_FILE=$(DESTDIR)/etc/multitail.conf | |
13 | ||
14 | CC?=gcc | |
15 | DEBUG+=-g -Wall # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile-arcs | |
16 | ifeq ($(UTF8_SUPPORT),yes) | |
17 | -LDFLAGS+=-lpanelw -lncursesw -lutil -lm | |
18 | +LDFLAGS+=-lpanelw -lncursesw -lm | |
19 | CFLAGS+=-funsigned-char -D`uname` -DVERSION=\"$(VERSION)\" -DCONFIG_FILE=\"$(CONFIG_FILE)\" -DUTF8_SUPPORT -D_FORTIFY_SOURCE=2 -O3 | |
20 | else | |
21 | LDFLAGS+=-lpanel -lncurses -lutil -lm | |
22 | @@ -37,7 +37,7 @@ | |
23 | ### YOURSELF WITH THE NEW FILE | |
24 | # | |
25 | mkdir -p $(DESTDIR)/etc/multitail/ | |
26 | - cp multitail.conf $(CONFIG_FILE).new | |
27 | + cp multitail.conf $(CONFIG_FILE) | |
28 | cp conversion-scripts/* $(DESTDIR)/etc/multitail/ | |
29 | #rm -f $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1.gz | |
30 | #gzip -9 $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1 |