2019-11-21 00:09:00 +01:00
|
|
|
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
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2019-11-21 00:09:00 +01:00
|
|
|
UTF8_SUPPORT:=yes
|
2015-06-13 01:03:31 +02:00
|
|
|
-DESTDIR=
|
2019-11-21 00:09:00 +01:00
|
|
|
-PREFIX=/usr/local
|
2017-11-16 23:37:17 +01:00
|
|
|
+DESTDIR=@TERMUX_PREFIX@
|
2015-06-13 01:03:31 +02:00
|
|
|
+PREFIX=
|
2019-11-21 00:09:00 +01:00
|
|
|
CONFIG_FILE=$(DESTDIR)$(PREFIX)/etc/multitail.conf
|
2015-06-13 01:03:31 +02:00
|
|
|
|
|
|
|
CC?=gcc
|
2019-11-21 00:09:00 +01:00
|
|
|
@@ -24,7 +24,7 @@
|
|
|
|
LDFLAGS+=-lpanel $(NCURSES_LIB) -lutil -lm
|
|
|
|
else
|
2015-06-13 01:03:31 +02:00
|
|
|
ifeq ($(UTF8_SUPPORT),yes)
|
2019-11-21 00:09:00 +01:00
|
|
|
- LDFLAGS+=-lpanelw -lncursesw -lutil -lm
|
|
|
|
+ LDFLAGS+=-lpanelw -lncursesw -lm
|
|
|
|
CPPFLAGS+=-DUTF8_SUPPORT
|
2015-06-13 01:03:31 +02:00
|
|
|
else
|
2019-11-21 00:09:00 +01:00
|
|
|
LDFLAGS+=-lpanel -lncurses -lutil -lm
|
|
|
|
@@ -57,7 +57,7 @@
|
2015-06-13 01:03:31 +02:00
|
|
|
### YOURSELF WITH THE NEW FILE
|
|
|
|
#
|
2019-11-21 00:09:00 +01:00
|
|
|
mkdir -p $(DESTDIR)$(PREFIX)/etc/multitail/
|
2015-06-13 01:03:31 +02:00
|
|
|
- cp multitail.conf $(CONFIG_FILE).new
|
|
|
|
+ cp multitail.conf $(CONFIG_FILE)
|
2019-11-21 00:09:00 +01:00
|
|
|
cp conversion-scripts/* $(DESTDIR)$(PREFIX)/etc/multitail/
|
2015-06-13 01:03:31 +02:00
|
|
|
#rm -f $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1.gz
|
|
|
|
#gzip -9 $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1
|