From 6dea0c96c3716a9eb4c001977f46588fcd24c429 Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Thu, 24 Jan 2019 21:40:25 -0500 Subject: [PATCH] Create doc/ project dir for Doxygen docs and manpage --- Doxyfile | 2 +- Makefile | 8 +++++--- httpdirfs.1 => doc/man/httpdirfs.1 | 0 3 files changed, 6 insertions(+), 4 deletions(-) rename httpdirfs.1 => doc/man/httpdirfs.1 (100%) diff --git a/Doxyfile b/Doxyfile index 0f43831..8afca84 100644 --- a/Doxyfile +++ b/Doxyfile @@ -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). diff --git a/Makefile b/Makefile index 774a7d8..dbeb084 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/httpdirfs.1 b/doc/man/httpdirfs.1 similarity index 100% rename from httpdirfs.1 rename to doc/man/httpdirfs.1