mkdir exportdir's parent, if necessary

Tux Paint's export features will fail if the parent
of the export directory didn't exist.  e.g., using the
default (either via XDG or hard-coded fallback) of
"~/Pictures/TuxPaint/", Tux Paint could not export if
"~/Pictures/" didn't exist yet.  It will now try to
mkdir it as well.  h/t Tim Dickson

Updated OPTIONS documents to explain this.

Also, documenting --exportdir in manpage (was missing!)
This commit is contained in:
Bill Kendrick 2021-01-13 22:48:29 -08:00
parent c2a4b9862a
commit c97932606f
9 changed files with 74 additions and 20 deletions

View file

@ -8,7 +8,7 @@ http://www.tuxpaint.org/
$Id$
2021.January.10 (0.9.26)
2021.January.13 (0.9.26)
* New Magic Tools:
----------------
* Pixels
@ -27,6 +27,15 @@ $Id$
* Documented how to build Tux Paint using old macOS
Mark K. Kim <markuskimius@gmail.com>
* Other Improvements
------------------
* If parent of export directory doesn't exist, Tux Paint will
try to create it as well.
(Only one level up; e.g., with an export location like
/path/to/Pictures/TuxPaint/, it will try to create
/path/to/Pictures/ if it doesn't exist, but not its parents).
h/t Tim Dickson
2020.December.27 (0.9.25)
* New Features
------------