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.

33 lines
1004 B

diff -u -r ../multitail-6.5.0/Makefile ./Makefile
--- ../multitail-6.5.0/Makefile 2019-11-07 12:56:23.000000000 +0000
+++ ./Makefile 2019-11-20 23:07:26.648217975 +0000
@@ -8,8 +8,8 @@
# -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -lncurses -ltinfo
10 years ago
UTF8_SUPPORT:=yes
10 years ago
-DESTDIR=
-PREFIX=/usr/local
+DESTDIR=@TERMUX_PREFIX@
10 years ago
+PREFIX=
CONFIG_FILE=$(DESTDIR)$(PREFIX)/etc/multitail.conf
10 years ago
CC?=gcc
@@ -24,7 +24,7 @@
LDFLAGS+=-lpanel $(NCURSES_LIB) -lutil -lm
else
10 years ago
ifeq ($(UTF8_SUPPORT),yes)
- LDFLAGS+=-lpanelw -lncursesw -lutil -lm
+ LDFLAGS+=-lpanelw -lncursesw -lm
CPPFLAGS+=-DUTF8_SUPPORT
10 years ago
else
LDFLAGS+=-lpanel -lncurses -lutil -lm
@@ -57,7 +57,7 @@
10 years ago
### YOURSELF WITH THE NEW FILE
#
mkdir -p $(DESTDIR)$(PREFIX)/etc/multitail/
10 years ago
- cp multitail.conf $(CONFIG_FILE).new
+ cp multitail.conf $(CONFIG_FILE)
cp conversion-scripts/* $(DESTDIR)$(PREFIX)/etc/multitail/
10 years ago
#rm -f $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1.gz
#gzip -9 $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1