diff --git a/RoboFile.php b/RoboFile.php index 5140624..3a577cc 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -334,7 +334,6 @@ class RoboFile extends \Robo\Tasks { */ public function manpage(): Result { $t = $this->collectionBuilder(); - $p = $this->taskParallelExec(); $man = [ 'en' => "man1/arsse.1", ]; @@ -342,9 +341,9 @@ class RoboFile extends \Robo\Tasks { $src = BASE."manpages/$src.md"; $out = BASE."dist/man/$out"; $t->addTask($this->taskFilesystemStack()->mkdir(dirname($out), 0755)); - $p->process("pandoc -s -f markdown-smart -t man -o ".escapeshellarg($out)." ".escapeshellarg($src)); + $t->addTask($this->taskExec("pandoc -s -f markdown-smart -t man -o ".escapeshellarg($out)." ".escapeshellarg($src))); + $t->addTask($this->taskReplaceInFile($out)->regex('/\.\n(?!\.)/s')->to(". ")); } - $t->addTask($p); return $t->run(); } diff --git a/manpages/en.md b/manpages/en.md index 4b0bfa1..b577264 100644 --- a/manpages/en.md +++ b/manpages/en.md @@ -187,4 +187,4 @@ J. King\ [https://jkingweb.ca/]() Dustin Wilson\ -[https://dustinwilson.com/]() \ No newline at end of file +[https://dustinwilson.com/]()