Giter Site home page Giter Site logo

Comments (6)

philshafer avatar philshafer commented on July 25, 2024

Got it. Will fix. Thanks…

On Feb 11, 2015, at 10:04 AM, Brooks Davis [email protected] wrote:

Release tarballs have makefiles that reference manpages and they exist in the repository, but the manpages themselves are in the tarballs so the release don't build without patching.


Reply to this email directly or view it on GitHub #24.

from libxo.

philshafer avatar philshafer commented on July 25, 2024

Just an update: I’ve 1/2 fixed this, in that I now make versioned manual pages on github, but making the man pages point at the specific version means using .in files for the man page sources. I need to finish that 1/2.

Thanks,
Phil

On Feb 11, 2015, at 1:04 PM, Brooks Davis [email protected] wrote:

Release tarballs have makefiles that reference manpages and they exist in the repository, but the manpages themselves are in the tarballs so the release don't build without patching.


Reply to this email directly or view it on GitHub #24.

from libxo.

philshafer avatar philshafer commented on July 25, 2024

Ooops. Upgrade here was for another issue. This issue is fixed in develop.

from libxo.

philshafer avatar philshafer commented on July 25, 2024

So I’m now publishing version content on github.io, like:

http://juniper.github.io/libxo/0.3.2/libxo-manual.html http://juniper.github.io/libxo/0.3.2/libxo-manual.html

The latest-and-greatest remains available at the original URL.

But the remaining half I still don’t have a good answer to. To make the URL above, I’d need to have autoconf generate libxo.3 from libxo.3.in (etc.) and that would be annoying. I could make a simple file containing only the version number, like:

.ds Vr 0.3.2

and have all the man pages “.so” that file. This would still be less annoying.

By annoying I mean that testing man page formatting would no longer be “nroff -man $src/libxo/libxo.3 | more”. I’d have to install them before I could see the output. Perhaps this is a low standard of “annoying”, but it’s annoying none the less….

Any suggestions?

Thanks,
Phil

On Mar 16, 2015, at 10:35 AM, Phil Shafer [email protected] wrote:

Just an update: I’ve 1/2 fixed this, in that I now make versioned manual pages on github, but making the man pages point at the specific version means using .in files for the man page sources. I need to finish that 1/2.

from libxo.

brooksdavis avatar brooksdavis commented on July 25, 2024

Thanks for getting the manpages into the release. They are now in the port.

I'm not sure the mandoc utility supports .so so that may not be an option. It seems like .in files wouldn't be that horrible so long as they render properly (modulo the URL) before processing. Otherwise I might be tempted to have a separate script that updates the version in the manpages and commit the change to the branch before release.

from libxo.

philshafer avatar philshafer commented on July 25, 2024

On Apr 27, 2015, at 4:52 PM, Brooks Davis [email protected] wrote:

I'm not sure the mandoc utility supports .so so that may not be an option.

Right. I knew freebsd moved to mandoc but wasn’t thinking that would affect this. Hmm… Looks like there are enough man pages already using .so that it must be supported:

find /usr/share/man/man3 -type f | xargs grep "^.so" | wc -l
430

Then again, that was under macosx.

It seems like .in files wouldn't be that horrible so long as they render properly (modulo the URL) before processing. Otherwise I might be tempted to have a separate script that updates the version in the manpages and commit the change to the branch before release.

Or I could add an install-hook that does something like “sed s/VERSION/${LIBXO_VERSION}/“.

Thanks,
Phil

from libxo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.