From: Chris Koeritz Date: Mon, 4 Oct 2021 05:12:47 +0000 (-0400) Subject: cleaning up output file after doxygen build X-Git-Tag: 2.140.129^2~9 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=17d3188cfc559354c4d6886c9bcfbe225db1a057 cleaning up output file after doxygen build --- diff --git a/documentation/makefile b/documentation/makefile index be0da8ff..7d54c778 100644 --- a/documentation/makefile +++ b/documentation/makefile @@ -14,13 +14,15 @@ build_docs: # @echo the defs are $(DEFINITIONS) @echo Regenerating documentation for feisty meow with doxygen. This could take a while... $(HIDESH) -c '\ -doxygen $(wildcard *.config) &> "$$TEMPORARIES_PILE/doxygen_run_$$(date +"%Y%m%d%H%M%S").log"; \ +outfile="$$TEMPORARIES_PILE/doxygen_run_$$(date +"%Y%m%d%H%M%S").log"; \ +doxygen $(wildcard *.config) &> "$$outfile"; \ if [ $$? -ne 0 ]; then \ echo failed to run doxygen on our configuration file.; \ echo perhaps doxygen is not properly installed?; \ echo these are the ubuntu install steps:; \ echo sudo apt install doxygen graphviz; \ -fi \ +fi; \ +\rm -f "$$outfile" \ ' @echo ...done regenerating the feisty meow docs.