X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/97ded7c1c37078d34c0213d72777fdff3b6aebda..fa31c5ed4839575c3ef3f6f0823fc2b4af47dbfd:/Makefile diff --git a/Makefile b/Makefile index d95a5a3..4b39b91 100644 --- a/Makefile +++ b/Makefile @@ -31,8 +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='"$(DESTDIR)$(CACHE_ROOT)"' cgit: cgit.c $(OBJECTS)