termux-packages/packages/colordiff/Makefile.patch

15 lines
452 B
Diff
Raw Normal View History

2016-11-08 00:55:19 +01:00
diff --git a/Makefile b/Makefile
index 3315fb5..eb211c4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-INSTALL_DIR=/usr/local/bin
-MAN_DIR=/usr/local/man/man1
-ETC_DIR=/etc
+INSTALL_DIR?=/usr/local/bin
+MAN_DIR?=/usr/local/man/man1
+ETC_DIR?=/etc
VERSION=$(shell egrep '^my .version' colordiff.pl |cut -f 2 -d "'")
DIST_FILES=COPYING INSTALL Makefile README \
colordiff.pl colordiffrc colordiffrc-lightbg cdiff.sh BUGS CHANGES colordiff.1 \