summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2024-12-13 14:50:40 +0300
committerNakidai <nakidai@disroot.org>2024-12-13 14:50:40 +0300
commit94413680cf95ac297bac8852a65f223b7ac8af96 (patch)
treec8e58778677fc43560b424837658d237b6fe96f4 /Makefile
parent93409c862f398441b81ee3922db7561cfac8a078 (diff)
downloadlibhttpc-94413680cf95ac297bac8852a65f223b7ac8af96.tar.gz
libhttpc-94413680cf95ac297bac8852a65f223b7ac8af96.zip
Add generated README
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7c11323..ceae766 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,9 @@ libhttpc.so:
 libhttpc.a:
 	ar rcs $@ $^
 
+README:
+	mandoc -T ascii $@.7 | col -b > $@
+
 install: all
 	install -d $(DESTDIR)/lib ${DESTDIR}/include/libhttpc ${DESTDIR}/share/man/man3
 	install -m644 libhttpc.a $(DESTDIR)/lib