Installing Doxygen on Mac OS X
Just a quick note – I was guided toward doxygen, which is a tool that does source code documentation. It has a DMG installer, that includes an executable to run doxygen with a wizard.
But since my purpose was to run doxygen in an Ant build script, I needed to install the command line version.
I simply looked inside the application, and was able to see that the executable was in /Applications/Doxygen.app/Contents/Resources/
Adding a symbolic link to /usr/local/bin (which is in my PATH) did the trick:
sudo ln -s /Applications/Doxygen.app/Contents/Resources/doxygen /usr/local/bin
You can always build Doxygen from source. Puts it in /usr/local/bin/doxygen.
Thanks Ethan – being on Mac, I tend to want to use the native version of things first, and since the DMG actually includes the command line tool, there was no need to build from source.
This helped me a lot, Thanks!
You are most welcome !
Thanks man. This helped me.
Glad to be helpful
I think the command there overwrites the bin folder. I used the following command
sudo ln -s /Applications/Doxygen.app/Contents/Resources/doxygen /usr/local/bin/doxygen
It actually places the symbolic link in the /usr/local/bin folder, but adding the doxygen to the end is more precise for sure.