summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 74f1d89..7c11323 100644
--- a/Makefile
+++ b/Makefile
@@ -31,11 +31,12 @@ install: all
 	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
+	install -m644 man/libhttpc*.3 ${DESTDIR}/share/man/man3
 
 uninstall:
 	$(RM) $(DESTDIR)/lib/libhttpc.{a,so}
 	$(RM) -r $(DESTDIR)/include/libhttpc/
+	$(RM) $(DESTDIR)/share/man/man3/libhttpc*.3
 
 clean:
 	rm -f ${OBJS} libhttpc.a libhttpc.so