You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
1.0 KiB

diff -u -r ../multitail-6.4.1/Makefile ./Makefile
--- ../multitail-6.4.1/Makefile 2015-02-12 03:32:35.000000000 -0500
+++ ./Makefile 2015-05-18 13:02:14.796497473 -0400
@@ -1,14 +1,14 @@
include version
UTF8_SUPPORT=yes
-DESTDIR=
-PREFIX=/usr
+DESTDIR=/data/data/com.termux/files/usr
+PREFIX=
CONFIG_FILE=$(DESTDIR)/etc/multitail.conf
CC?=gcc
DEBUG+=-g -Wall # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile-arcs
ifeq ($(UTF8_SUPPORT),yes)
-LDFLAGS+=-lpanelw -lncursesw -lutil -lm
+LDFLAGS+=-lpanelw -lncursesw -lm
CFLAGS+=-funsigned-char -D`uname` -DVERSION=\"$(VERSION)\" -DCONFIG_FILE=\"$(CONFIG_FILE)\" -DUTF8_SUPPORT -D_FORTIFY_SOURCE=2 -O3
else
LDFLAGS+=-lpanel -lncurses -lutil -lm
@@ -37,7 +37,7 @@
### YOURSELF WITH THE NEW FILE
#
mkdir -p $(DESTDIR)/etc/multitail/
- cp multitail.conf $(CONFIG_FILE).new
+ cp multitail.conf $(CONFIG_FILE)
cp conversion-scripts/* $(DESTDIR)/etc/multitail/
#rm -f $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1.gz
#gzip -9 $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1