Makefile: change docs rule to make it work on macOS

This commit is contained in:
Lorenzo Figini 2021-12-22 23:40:05 +01:00 committed by Michele Guerini Rocco
parent 6938d8c061
commit b379a20192
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -115,7 +115,7 @@ $(LIBGRAY).a: $(LIBGRAY).a($(MODULES))
# All documentation
docs: | $(SHAREDIR)
+make -C doc
cp -t $(SHAREDIR) -r doc/build/*
cp -r doc/build/* $(SHAREDIR)
# Generated man pages
$(SHAREDIR)/gray.1: $(GRAY) doc/gray.1 | $(SHAREDIR)