Closed He-Ro closed 6 years ago
See https://github.com/sinclairtarget/um/commit/9f3e21dbef19734b22fa26242b872d77be8c0005.
This is a good idea, but I'm pretty sure what you've got just executes every time the Rakefile is read. We should only create the /doc/man1
directory when we're running the rake man
task.
If you really need Rake to be silent, you can pass the -s
flag.
Only create the output directory if needed.
This is my first time coding in Ruby, so any hint about better format/coding style would be welcome ;) In the AUR package someone suggested to remove the multiple
mkdir -p doc/man1
output lines, when building the package.So now you only see this line once and only if the directory did not exist beforehand.