aboutsummaryrefslogtreecommitdiff
path: root/doc/man3/Makefile
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-09-26 23:50:41 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-09-27 21:55:58 +0200
commita89d0e4ae33561667aee540bd45b5985966562be (patch)
tree0faca5b5248d41c1270a22c32ddcda723dc08d45 /doc/man3/Makefile
parentadb0973bb355b9f7eb27d9842116e43c7f77d261 (diff)
downloadlibweb-a89d0e4ae33561667aee540bd45b5985966562be.tar.gz
Install man pagesv0.1.0-rc1
Diffstat (limited to 'doc/man3/Makefile')
-rw-r--r--doc/man3/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/man3/Makefile b/doc/man3/Makefile
new file mode 100644
index 0000000..e8e6a13
--- /dev/null
+++ b/doc/man3/Makefile
@@ -0,0 +1,32 @@
+.POSIX:
+
+PREFIX = /usr/local
+DST = $(PREFIX)/share/man/man3
+OBJECTS = \
+ $(DST)/handler_add.3 \
+ $(DST)/handler_alloc.3 \
+ $(DST)/handler_free.3 \
+ $(DST)/handler_listen.3 \
+ $(DST)/html_node_add_attr.3 \
+ $(DST)/html_node_add_child.3 \
+ $(DST)/html_node_add_sibling.3 \
+ $(DST)/html_node_alloc.3 \
+ $(DST)/html_node_free.3 \
+ $(DST)/html_node_set_value.3 \
+ $(DST)/html_node_set_value_unescaped.3 \
+ $(DST)/html_serialize.3 \
+ $(DST)/http_alloc.3 \
+ $(DST)/http_cookie_create.3 \
+ $(DST)/http_encode_url.3 \
+ $(DST)/http_free.3 \
+ $(DST)/http_response_add_header.3 \
+ $(DST)/http_update.3
+
+all:
+
+install: $(OBJECTS)
+
+$(DST)/%.3: %.3
+ mkdir -p $(DST)
+ cp $< $@
+ chmod 0644 $@