]> gitweb.ps.run Git - ps-cgit/blobdiff - Makefile
Makefile: add missing references to DESTDIR
[ps-cgit] / Makefile
index 7857b8ea11586a792eda921e404d3f109b0d40f7..4b39b9118cab04ddcab7a36bc7536e13c4459cc0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,9 +31,9 @@ VERSION: force-version
 CFLAGS += -g -Wall -Igit
 CFLAGS += -DSHA1_HEADER='$(SHA1_HEADER)'
 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_CACHE_ROOT='"$(CACHE_ROOT)"'
+CFLAGS += -DCGIT_CACHE_ROOT='"$(DESTDIR)$(CACHE_ROOT)"'
 
 
 cgit: cgit.c $(OBJECTS)