]> git.cameronkatri.com Git - cgit.git/commitdiff
Revert "Makefile: add missing references to DESTDIR"
authorLars Hjemli <hjemli@gmail.com>
Sat, 8 Sep 2007 16:38:10 +0000 (18:38 +0200)
committerLars Hjemli <hjemli@gmail.com>
Sat, 8 Sep 2007 16:38:10 +0000 (18:38 +0200)
This reverts commit fa31c5ed4839575c3ef3f6f0823fc2b4af47dbfd, as I
totally misunderstood the purpose of DESTDIR.

Noticed-by: Chris Pickel <sfiera@macports.org>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Makefile

index ce3015df58b18800d30bd3dbcdee6860a44c63c6..3c0dd5f1290d132aaa480f962846b565e198d97e 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='"$(DESTDIR)$(CGIT_CONFIG)"'
+CFLAGS += -DCGIT_CONFIG='"$(CGIT_CONFIG)"'
 CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"'
-CFLAGS += -DCGIT_CACHE_ROOT='"$(DESTDIR)$(CACHE_ROOT)"'
+CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"'
 
 
 cgit: cgit.c $(OBJECTS)