Create doc/ project dir for Doxygen docs and manpage

This commit is contained in:
Jerome Charaoui 2019-01-24 21:40:25 -05:00 committed by Fufu Fang
parent f6f50c7cdf
commit 6dea0c96c3
3 changed files with 6 additions and 4 deletions

View File

@ -1130,7 +1130,7 @@ GENERATE_HTML = YES
# The default directory is: html.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_OUTPUT = html
HTML_OUTPUT = doc/html
# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
# generated HTML page (for example: .htm, .php, .asp).

View File

@ -17,14 +17,16 @@ httpdirfs: $(COBJS)
install:
install -m 755 -D httpdirfs \
$(DESTDIR)$(prefix)/bin/httpdirfs
install -m 644 -D httpdirfs.1 \
install -m 644 -D doc/man/httpdirfs.1 \
$(DESTDIR)$(prefix)/share/man/man1/httpdirfs.1
doc:
doxygen Doxyfile
clean:
rm -rf *.o httpdirfs html
-rm -f *.o
-rm -f httpdirfs
-rm -rf doc/html
distclean: clean
@ -32,4 +34,4 @@ uninstall:
-rm -f $(DESTDIR)$(prefix)/bin/httpdirfs
-rm -f $(DESTDIR)$(prefix)/share/man/man1/httpdirfs.1
.PHONY: all install clean distclean uninstall
.PHONY: all doc install clean distclean uninstall