netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kernel doc / docbook pdfdocs question
@ 2009-09-30 19:59 Doug Maxey
  2009-10-01  0:30 ` Stephen Hemminger
  0 siblings, 1 reply; 4+ messages in thread
From: Doug Maxey @ 2009-09-30 19:59 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: netdev


Randy,

This may be slightly off topic for this list, but it does involve an
(as yet un-released) network driver. :)

Do you have any insight that could guide me toward a fix for an issue
seen with some header file constructs when trying to generate a pdf
docbook?

In my .tmpl file I do the "process my header file" construct:
...
!Ipath/to/myheader.h
...

In myheader.h an example decl that is giving me fits looks like:

struct foo {
	int bar;
	DECLARE_BITMAP(baz, LENGTH);
	int fotz;
};

It puts the bar and fotz decls in the output, but only outputs a
warning to stderr on the line with DECLARE_BITMAP, nothing about baz
(or DECLARE_BITMAP) is output into the .xml file.

My question is, would it be easier to pre-process the header, say with
gcc -EC via some rule in Documentation/DocBook/Makefile, or to try and
fix whatever gets called by scripts/basic/docbook?

I tried to find what the exact calling sequence was, but am getting
lost in what actually does the xml generation, and therefore how to
fix what is choking on the DECLARE_BITMAP.

Any tips will be very appreciated!

++doug



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-01 15:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-30 19:59 kernel doc / docbook pdfdocs question Doug Maxey
2009-10-01  0:30 ` Stephen Hemminger
2009-10-01  5:42   ` Doug Maxey
2009-10-01 15:57     ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).