21 lines
523 B
Diff
21 lines
523 B
Diff
--- ./Makefile~ 2020-12-24 08:43:57.000000000 +0100
|
|
+++ ./Makefile 2020-12-26 16:37:35.799980999 +0100
|
|
@@ -24,9 +24,14 @@
|
|
#OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
PREFIX?=/usr/local
|
|
-INSTALLBIN=$(PREFIX)/bin
|
|
-INSTALLSHARE=$(PREFIX)/share/games
|
|
-INSTALLMAN=$(PREFIX)/share/man
|
|
+DESTDIR?=
|
|
+BINDIR=$(PREFIX)/bin
|
|
+SHAREDIR=$(PREFIX)/share/games
|
|
+MANDIR=$(PREFIX)/share/man
|
|
+
|
|
+INSTALLBIN=$(DESTDIR)$(BINDIR)
|
|
+INSTALLSHARE=$(DESTDIR)$(SHAREDIR)
|
|
+INSTALLMAN=$(DESTDIR)$(MANDIR)
|
|
|
|
CC?=gcc
|
|
AR?=ar
|