aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 72a1cff..a3e9b05 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
CGIT_VERSION = 0.1
-INSTALL_DIR = /var/www/htdocs/cgit
+INSTALL_BIN = /var/www/htdocs/cgit.cgi
+INSTALL_CSS = /var/www/htdocs/cgit.css
CACHE_ROOT = /var/cache/cgit
EXTLIBS = ../git/libgit.a ../git/xdiff/lib.a -lz -lcrypto
@@ -16,8 +17,8 @@ endif
all: cgit
install: all clean-cache
- install cgit $(INSTALL_DIR)/cgit.cgi
- install cgit.css $(INSTALL_DIR)/cgit.css
+ install cgit $(INSTALL_BIN)
+ install cgit.css $(INSTALL_CSS)
cgit: cgit.c cgit.h git.h $(OBJECTS)
$(CC) $(CFLAGS) -DCGIT_VERSION='"$(CGIT_VERSION)"' cgit.c -o cgit \