zopencommunity / metaport

zopen package manager
Apache License 2.0
1 stars 2 forks source link

Add in code to generate html in addition to man pages #21

Closed MikeFultonDev closed 1 year ago

MikeFultonDev commented 1 year ago

Added in perl and coreutils. Neither should be required (perl should come in automatically from git and coreutils 'echo' should not be necessary but it was causing me grief). Added in groff because I use it on the install to generate html files from man files. If it's a concern, I can pull out perl and coreutils although it should be fine.

Added a check to 'install' to ensure we are using the right perl (and no some old perl that has issues). Added an additional parameter to the generate test for the description (was this added?)

Clean up junk left behind after the generate test - otherwise it causes generate to be unhappy and prompts to clean up.

Create the man files under 'man1' so that you can look at the files under 'man' to see how they render without having to install the files

Finally - added the loop to run groff -m mandoc to generate html from man files.

IgorTodorovskiIBM commented 1 year ago

/run tests

IgorTodorovskiIBM commented 1 year ago

/run tests

IgorTodorovskiIBM commented 1 year ago

/run tests

MikeFultonDev commented 1 year ago

This 'appears' to now work so I'm going to merge.