libweb/doc/man3/Makefile
Xavier Del Campo Romero 2fce1f4b08
doc: Add man3 page for http_decode_url
Suprisingly, this man page was missing on the 0.1.0 release.

The recent signature changes on http_decode_url have already been
reflected.
2023-11-12 00:14:26 +01:00

36 lines
1.0 KiB
Makefile

.POSIX:
prefix = /usr/local
datarootdir = $(prefix)/share
mandir = $(datarootdir)/man
man3dir = $(mandir)/man3
OBJECTS = \
$(DESTDIR)$(man3dir)/handler_add.3 \
$(DESTDIR)$(man3dir)/handler_alloc.3 \
$(DESTDIR)$(man3dir)/handler_free.3 \
$(DESTDIR)$(man3dir)/handler_listen.3 \
$(DESTDIR)$(man3dir)/html_node_add_attr.3 \
$(DESTDIR)$(man3dir)/html_node_add_child.3 \
$(DESTDIR)$(man3dir)/html_node_add_sibling.3 \
$(DESTDIR)$(man3dir)/html_node_alloc.3 \
$(DESTDIR)$(man3dir)/html_node_free.3 \
$(DESTDIR)$(man3dir)/html_node_set_value.3 \
$(DESTDIR)$(man3dir)/html_node_set_value_unescaped.3 \
$(DESTDIR)$(man3dir)/html_serialize.3 \
$(DESTDIR)$(man3dir)/http_alloc.3 \
$(DESTDIR)$(man3dir)/http_cookie_create.3 \
$(DESTDIR)$(man3dir)/http_decode_url.3 \
$(DESTDIR)$(man3dir)/http_encode_url.3 \
$(DESTDIR)$(man3dir)/http_free.3 \
$(DESTDIR)$(man3dir)/http_response_add_header.3 \
$(DESTDIR)$(man3dir)/http_update.3
all:
install: $(OBJECTS)
$(DESTDIR)$(man3dir)/%.3: %.3
mkdir -p $(DESTDIR)$(man3dir)
cp $< $@
chmod 0644 $@