more macOS make manpages follow-up

This commit is contained in:
nhmall
2023-11-29 00:11:04 -05:00
parent dc7685f33c
commit 05c720bf9d
2 changed files with 7 additions and 1 deletions

View File

@@ -90,6 +90,7 @@ endif # WANT_WIN_QT
# manpages directory
MANDIR=/usr/local/share/man/man6
PREMANPAGES = checkmandir
ifeq "$(USE_ASAN)" "1"
CFLAGS +=-fsanitize=address
@@ -522,6 +523,11 @@ $(TARGETPFX)winshim.o : ../win/shim/winshim.c $(HACK_H)
$(CC) $(CFLAGS) -c -o$@ $<
endif # WANT_LIBNH
ifdef MAKEFILE_DOC
checkmandir:
@( if test -d $(MANDIR) ; then true ; else mkdir -p $(MANDIR) ; fi )
endif # MAKEFILE_DOC
# -- bundle ---
#
ifdef MAKEFILE_TOP