summaryrefslogtreecommitdiff
blob: 63e0f5b48c7197a8fcf49b37f9a0fd635677e2b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Makefile.old	2005-04-26 20:59:55.988577928 +0100
+++ Makefile	2005-04-26 21:00:27.972490800 +0100
@@ -18,7 +18,7 @@
 CFLAGS=-g -O2 -Wall
 
 # Should be changed to /usr/local
-prefix=$(HOME)
+prefix=/usr
 
 bindir=$(prefix)/bin
 
@@ -91,7 +91,7 @@
 	@echo Generating cg-version...
 	@rm -f $@
 	@echo "#!/bin/sh" > $@
-	@PATH=.:$(PATH) echo "echo \"$(shell cat $(VERSION)) ($(shell commit-id))\"" >> $@
+	@PATH=.:$(PATH) echo "echo \"$(shell cat $(VERSION)) ($(shell ./commit-id))\"" >> $@
 	@chmod +x $@
 
 install: $(PROG) $(SCRIPTS) $(SCRIPT) $(GEN_SCRIPT)