Travis Swicegood

Never say die: compiling the git manual on OSX

Last night I battled with my computer trying to get git's manual to install. Yes, I know they distribute the manual already packaged, but I have my git compiled from their repo, so why shouldn't my docs be in step? I found a lot of info on this wiki page that helped get me started in the right direction, but was still having issues. Turns out, the latest version of xmlto uses a cp -a command which is a no-go on OSX.

The fix is simple enough, on line 11 of format/docbook/man, change "cp -a -- ..." to "cp -- ..." and you're done.

About

Travis Swicegood is a professional programmer and owner of Domain51, a web development company with a focus on non-profits, NGOs, and online activists. He doesn't change the world, he supports those who do.

He has personal a focus on web applications, performance, and stability; is author of Pragmatic Version Control using Git; and working on his second book. He has been using PHP; since '99 and still remembers how revolutionary PHP 4 was, but can't remember why. He's a TDD, open-source, and open government advocate—sometimes called a zealot—and lurker on many an open-source project mailing list when not learning other programming; languages; for fun, exploring his surroundings on bike, or tasting his latest kitchen and home-brew creations.

Contact
Around the Internet