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: all
|
||||||
|
|
||||||
.DEFAULT:
|
.DEFAULT:
|
||||||
cd src && $(MAKE) $@
|
$(MAKE) -C src $@
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd src && $(MAKE) $@
|
$(MAKE) -C src $@
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
|
@ -55,7 +55,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
PREFIX?=/usr/local
|
PREFIX?=/usr/local
|
||||||
INSTALL_BIN=$(PREFIX)/bin
|
INSTALL_BIN=$(DESTDIR)$(PREFIX)/bin
|
||||||
INSTALL=install
|
INSTALL=install
|
||||||
PKG_CONFIG?=pkg-config
|
PKG_CONFIG?=pkg-config
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user