mirror of
https://git.zx2c4.com/cgit
synced 2024-11-26 02:18:42 +00:00
Makefile: add missing references to DESTDIR
When cgit is built it needs to get CGIT_CONFIG and CGIT_CACHE_ROOT prefix with DESTDIR. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
898f5f89d3
commit
fa31c5ed48
4
Makefile
4
Makefile
@ -31,9 +31,9 @@ VERSION: force-version
|
|||||||
CFLAGS += -g -Wall -Igit
|
CFLAGS += -g -Wall -Igit
|
||||||
CFLAGS += -DSHA1_HEADER='$(SHA1_HEADER)'
|
CFLAGS += -DSHA1_HEADER='$(SHA1_HEADER)'
|
||||||
CFLAGS += -DCGIT_VERSION='"$(CGIT_VERSION)"'
|
CFLAGS += -DCGIT_VERSION='"$(CGIT_VERSION)"'
|
||||||
CFLAGS += -DCGIT_CONFIG='"$(CGIT_CONFIG)"'
|
CFLAGS += -DCGIT_CONFIG='"$(DESTDIR)$(CGIT_CONFIG)"'
|
||||||
CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"'
|
CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"'
|
||||||
CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"'
|
CFLAGS += -DCGIT_CACHE_ROOT='"$(DESTDIR)$(CACHE_ROOT)"'
|
||||||
|
|
||||||
|
|
||||||
cgit: cgit.c $(OBJECTS)
|
cgit: cgit.c $(OBJECTS)
|
||||||
|
Loading…
Reference in New Issue
Block a user