Add install target for macOS

This commit is contained in:
Hristo Iliev 2021-05-27 22:38:22 +03:00
parent e553463dc4
commit 1df02b08e8
1 changed files with 7 additions and 0 deletions

View File

@ -45,6 +45,13 @@ ifeq ($(OS),FreeBSD)
install -m 644 doc/man/httpdirfs.1.gz \
$(DESTDIR)$(prefix)/man/man1/httpdirfs.1.gz
endif
ifeq ($(OS),Darwin)
install -m 755 httpdirfs \
$(DESTDIR)$(prefix)/bin/httpdirfs
install -d $(DESTDIR)$(prefix)/share/man/man1
install -m 644 doc/man/httpdirfs.1 \
$(DESTDIR)$(prefix)/share/man/man1/httpdirfs.1
endif
doc:
doxygen Doxyfile