about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2024-12-13 04:54:50 +0300
committerNakidai <nakidai@disroot.org>2024-12-13 04:54:50 +0300
commitc4a9635cb33ba610e663ebdb23dc01d687476109 (patch)
tree691a18c3af2761449bb3c52589fafb3f3a88c2d6 /Makefile
parentd29b57abc2cb0f0e34c295a8954f99f903ab5b22 (diff)
downloadlibhttpc-c4a9635cb33ba610e663ebdb23dc01d687476109.tar.gz
libhttpc-c4a9635cb33ba610e663ebdb23dc01d687476109.zip
Add manpages
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}