Merge pull request #64 from hiliev/macos-install

Add install target for macOS
This commit is contained in:
Fufu Fang 2021-05-27 21:01:08 +01:00 committed by GitHub
commit 3e4a438d75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -45,6 +45,14 @@ ifeq ($(OS),FreeBSD)
install -m 644 doc/man/httpdirfs.1.gz \
$(DESTDIR)$(prefix)/man/man1/httpdirfs.1.gz
endif
ifeq ($(OS),Darwin)
install -d $(DESTDIR)$(prefix)/bin
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