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>
This commit is contained in:
Andreas Ericsson 2008-11-22 13:05:32 +01:00 committed by Shawn O. Pearce
parent 4f0adcd0e6
commit ff7c7576aa

View File

@ -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 $@