Install manpage in install Makefile target

This commit is contained in:
Jerome Charaoui 2019-01-24 21:16:23 -05:00 committed by Fufu Fang
parent b0fc0170f3
commit 14ca3bca20
1 changed files with 4 additions and 1 deletions

View File

@ -13,7 +13,10 @@ httpdirfs: $(OBJ)
$(CC) -o $@ $^ $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
install:
install -m 755 -D httpdirfs $(DESTDIR)$(prefix)/bin
install -m 755 -D httpdirfs \
$(DESTDIR)$(prefix)/bin/httpdirfs
install -m 644 -D httpdirfs.1 \
$(DESTDIR)$(prefix)/share/man/man1/httpdirfs.1
doc:
doxygen Doxyfile