summaryrefslogtreecommitdiff
path: root/net/freenet6/files/patch-src-Makefile
blob: c799f69f57b4fcbb134c7c1c4bf874ba3d171022 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- src/Makefile.orig	Mon Aug 11 17:18:21 2003
+++ src/Makefile	Thu Oct 23 11:12:02 2003
@@ -11,7 +11,7 @@
 INC=.
 BIN=../bin
 
-CC=gcc -g -I$(INC) -Wall
+CC+=$(CFLAGS) -g -I$(INC) -Wall
 
 all: tspc tspc.conf.sample
 
@@ -19,9 +19,9 @@
 	@echo Installing tspc
 	mkdir -p $(install_bin)
 	$(COPY) $(BIN)/$(TSPC) $(install_bin)/$(TSPC)
-	$(COPY) $(BIN)/tspc.conf.sample $(install_bin)/tspc.conf.sample
-	@if [ ! -e "$(install_bin)/tspc.conf" ]; then \
-	   $(COPY) $(BIN)/tspc.conf.sample $(install_bin)/tspc.conf; \
+	$(COPY) $(BIN)/tspc.conf.sample $(install_etc)/tspc.conf.sample
+	@if [ ! -e "$(install_etc)/tspc.conf" ]; then \
+	   $(COPY) $(BIN)/tspc.conf.sample $(install_etc)/tspc.conf; \
 	fi
 	@echo End of tspc installation