doc: minor adjustment of the makefile
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 4 Jan 2017 12:09:01 +0000 (13:09 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 4 Jan 2017 12:18:32 +0000 (13:18 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
doc/Makefile

index 146c863..f0d9f8c 100644 (file)
@@ -99,7 +99,7 @@ clean:
 doc: $(DOX_FILE)
        @echo "[$@] doc"
        @echo "  Cleaning up $(OS) outputs..."
-       @rm -frv "$(HTML_OUTPUT)" "$(LATEX_OUTPUT)" "$(PDF_OUTPUT)"
+       @rm -fr "$(HTML_OUTPUT)" "$(LATEX_OUTPUT)" "$(PDF_OUTPUT)"
        @mkdir -pv "$(HTML_OUTPUT)"
        @mkdir -pv "$(LATEX_OUTPUT)"
        @mkdir -pv "$(PDF_DIR)"
@@ -115,11 +115,11 @@ doc: $(DOX_FILE)
          "$(DOX_FILE)" > "$(TMP_DOX_FILE)"
        @echo "  Running doxygen to create HTML..."
        @doxygen "$(TMP_DOX_FILE)"
-       @rm -fv "$(TMP_DOX_FILE)"
+       @rm -f "$(TMP_DOX_FILE)"
        @echo "  Running latex to create a PDF..."
        @$(MAKE) -s -C $(LATEX_OUTPUT) all
        @mkdir -pv "$(PDF_DIR)"
        @mv -v "$(LATEX_OUTPUT)/refman.pdf" "$(PDF_OUTPUT)"
-       @rm -frv "$(LATEX_OUTPUT)"
+       @rm -fr "$(LATEX_OUTPUT)"
        @rmdir -v --ignore-fail-on-non-empty "$(LATEX_DIR)"
        @echo "  Done"