about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5df7ef8..74f1d89 100644
--- a/Makefile
+++ b/Makefile
@@ -27,10 +27,11 @@ libhttpc.a:
 	ar rcs $@ $^
 
 install: all
-	install -d $(DESTDIR)/lib ${DESTDIR}/include/libhttpc
+	install -d $(DESTDIR)/lib ${DESTDIR}/include/libhttpc ${DESTDIR}/share/man/man3
 	install -m644 libhttpc.a $(DESTDIR)/lib
 	install -m755 libhttpc.so $(DESTDIR)/lib
 	install -m644 include/{config,libhttpc}.h $(DESTDIR)/include/libhttpc
+	install -m644 man/*.3 ${DESTDIR}/share/man/man3
 
 uninstall:
 	$(RM) $(DESTDIR)/lib/libhttpc.{a,so}