Doxygen for parsing Makefile

How to parse Makefile in Doxygen. My directory contains * .c and * .h files, which it parses correctly. But I'm not sure how I can get it to parse the Makefile correctly. There is a special GNU makefile parsing plugin that I can use. I could not tell anyone about this.

Thanks for the help in advance.

+1
source share
1 answer

It would be very useful for me if DoxyGen could parse the makefile. The Makefile is a central element of the build process and will be a very good place to enable an introduction to appear on the main page.

I tried to enable it by calling Makefile.mk and asking doxygen to enable the .mk extension in the list of input files.

One of the difficulties that I foresaw is that comments start with C #, and as far as I know, there is no multi-line comment block for make.

I suppose this would mean that a doxygen revision would be required to support this operation.

I am sure this will be a really useful addition to DoxyGen, which many people will find useful.

+1
source

Source: https://habr.com/ru/post/1487254/


All Articles