How to run Doxygen Makefile?

I created a .NET C # project that I commented on using blocks similar to ///<summary>A summary...</summary> , which I would like to document using Doxygen. I installed Doxygen and it starts generating about 100.tex files and Makefile.

As I understand it, a Makefile is the key to creating PDF documentation, however I cannot get it to work.

I use a Mac to execute the LaTeX and Doxygen bits by writing make -f Makefile in the terminal when I enter the Doxygen LaTeX output directory.

 all: refman.pdf pdf: refman.pdf refman.pdf: clean refman.tex pdflatex refman makeindex refman.idx pdflatex refman latex_count=5 ; \ while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ do \ echo "Rerunning latex...." ;\ pdflatex refman ;\ latex_count=`expr $$latex_count - 1` ;\ done clean: rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf 

When I start, I get the following message:

 MacBook-Pro-13:latex sehlstrom$ make rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf make: *** No rule to make target `refman.tex', needed by `refman.pdf'. Stop. 

How can I make MakeFil work?

+4
source share
1 answer

refman.tex must be created by Doxygen. I just tested with doxygen 1.7.2 installed and created refman.tex .

Make sure you do not set a parameter that says it is a component of a larger project that should not have its own index.

+3
source

All Articles