Commit ff7c7576aad8b6d87100eb1a62c0bfcdd6e24e01

Andreas Ericsson 2008-11-22T13:05:32

s/COPYING/.HEADER/ for install-headers target We don't want to prepend the entire license; Only the file header part of it. Signed-off-by: Andreas Ericsson <ae@op5.se> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Makefile b/Makefile
index 1f3ae5e..49306be 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ test: $(TEST_RUN)
 
 install-headers: $(PUBLIC_HEADERS)
 	@mkdir -p /tmp/gitinc/git
-	@for i in $^; do cat COPYING $$i > /tmp/gitinc/$${i##src/}; done
+	@for i in $^; do cat .HEADER $$i > /tmp/gitinc/$${i##src/}; done
 
 .c.o:
 	$(CC) $(BASIC_CFLAGS) $(CFLAGS) -c $< -o $@