diff options
author | Andreas Ericsson <ae@op5.se> | 2008-11-18 01:27:29 +0100 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2008-11-18 10:32:53 -0800 |
commit | a57e9a8cc15b61ae1ab908b362fd829b3e36e513 (patch) | |
tree | 03c3f39467c727707a5522e6ecdb4fd2ef09f8b1 | |
parent | d4043ee9d97031e94f205110996d2381dd26c540 (diff) | |
download | libgit2-a57e9a8cc15b61ae1ab908b362fd829b3e36e513.tar.gz |
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>
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -40,6 +40,10 @@ apidocs: 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: $(CC) $(BASIC_CFLAGS) $(CFLAGS) -c $< -o $@ @@ -87,3 +91,4 @@ $(TEST_RUN): tests/%.run: tests/%.exe .PHONY: clean .PHONY: test $(TEST_RUN) .PHONY: apidocs +.PHONY: install-headers |