summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorAli Fardan <raiz@stellarbound.space>2021-01-19 00:54:45 +0300
committerAli Fardan <raiz@stellarbound.space>2021-01-19 00:54:45 +0300
commitfa76987f965f1c737d5add16bfc2fdda514a19b8 (patch)
tree91eb603d22714a57ca444356db086ea25cd326df /Makefile
parentfaabb55313f176c52897cf63623ecb5b158ec46d (diff)
downloadlibyuri-fa76987f965f1c737d5add16bfc2fdda514a19b8.tar.gz
write manpages
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5c6fe54..e4ff5b7 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ TARGET_LIB_STATIC = libyuri.a
 PREFIX = /usr
 
 OBJS = yuri.o decode.o encode.o normalize.o strlcpy.o strlcat.o
-MANPAGES = 
+MANPAGES = man/uri.3 man/uri_get.3 man/uri_set.3 man/uri_unset.3
 
 all: $(TARGET_LIB_STATIC) $(TARGET_LIB_DYNAMIC)
 
@@ -27,8 +27,8 @@ install: all
 	ldconfig -n $(PREFIX)/lib
 	mkdir -p $(PREFIX)/include
 	cp yuri.h $(PREFIX)/include
-#	mkdir -p $(PREFIX)/share/man/man3
-#	cp $(MANPAGES) $(PREFIX)/share/man/man3
+	mkdir -p $(PREFIX)/share/man/man3
+	cp $(MANPAGES) $(PREFIX)/share/man/man3
 
 clean:
 	rm -f $(TARGET_LIB_STATIC) $(TARGET_LIB_DYNAMIC) $(OBJS) test