mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-05 17:12:51 +00:00
Add a fake and phony install-headers target
It actually does what it's supposed to (more or less), but not very portably and not to the correct directory. Signed-off-by: Andreas Ericsson <ae@op5.se> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
parent
d4043ee9d9
commit
a57e9a8cc1
5
Makefile
5
Makefile
@ -40,6 +40,10 @@ apidocs:
|
|||||||
|
|
||||||
test: $(TEST_RUN)
|
test: $(TEST_RUN)
|
||||||
|
|
||||||
|
install-headers: $(PUBLIC_HEADERS)
|
||||||
|
@mkdir -p /tmp/gitinc/git
|
||||||
|
@for i in $^; do cat COPYING $$i > /tmp/gitinc/$${i##src/}; done
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC) $(BASIC_CFLAGS) $(CFLAGS) -c $< -o $@
|
$(CC) $(BASIC_CFLAGS) $(CFLAGS) -c $< -o $@
|
||||||
|
|
||||||
@ -87,3 +91,4 @@ $(TEST_RUN): tests/%.run: tests/%.exe
|
|||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
.PHONY: test $(TEST_RUN)
|
.PHONY: test $(TEST_RUN)
|
||||||
.PHONY: apidocs
|
.PHONY: apidocs
|
||||||
|
.PHONY: install-headers
|
||||||
|
Loading…
Reference in New Issue
Block a user