mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-21 23:58:51 -05:00
Makefile: add support to DESTDIR
Closes: #22 Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
This commit is contained in:
parent
9f420764b0
commit
4a6558258e
4
Makefile
4
Makefile
@ -3,9 +3,9 @@
|
||||
default: all
|
||||
|
||||
.DEFAULT:
|
||||
cd src && $(MAKE) $@
|
||||
$(MAKE) -C src $@
|
||||
|
||||
install:
|
||||
cd src && $(MAKE) $@
|
||||
$(MAKE) -C src $@
|
||||
|
||||
.PHONY: install
|
||||
|
@ -55,7 +55,7 @@ else
|
||||
endif
|
||||
|
||||
PREFIX?=/usr/local
|
||||
INSTALL_BIN=$(PREFIX)/bin
|
||||
INSTALL_BIN=$(DESTDIR)$(PREFIX)/bin
|
||||
INSTALL=install
|
||||
PKG_CONFIG?=pkg-config
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user