--Boundary-00=_7wVbCmQv02obwmT Content-Type: multipart/signed; boundary="nextPart46442012.BKG00ETQKf"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart46442012.BKG00ETQKf Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The attached patch adds a configure option "--enable-apidox" (not _really_ = a=20 good name, since it's more like "--enable-ignore-do-not-compile-for-apidox"= =20 or "--disable-no-compile"). The purpose here is to make it possible to buil= d=20 apidox for an entire module _even without the dependencies_ that would=20 otherwise cause parts of the apidox to be omitted. It does this by just=20 zeroing out the DO_NOT_COMPILE before writing out the (TOP)SUBDIRS. Consider ktown. It doesn't have pilot-link installed, so KPilot ends up in= =20 DO_NOT_COMPILE; as a consequence the apidox for KPilot aren't built there=20 either since the apidox targer uses SUBDIRS which is generated by subtracti= ng=20 DO_NOT_COMPILE from the available subdirs. This is kind of inconvenient whe= n=20 the apidox on ktown are supposed to be complete. One problem I can see with this patch is that it is _possible_ to configure= =20 with --enable-apidox and then run "make" and have the build fail because of= =20 something that would otherwise be DO_NOT_COMPILE. I don't see how to make t= he=20 "all" target after such a configure point to apidox instead of the all-am,= =20 though. Hints? Is this OK to commit? Renaming is fine by me, I'd probably go with=20 =2D-disable-no-compile in the commit version. It'd improve some of the apid= ox=20 immediately (consider again, hosting apidox on ktown or some other server=20 without every possible dependency of each module installed). =2D-=20 These are your friends - Adem GPG: FEA2 A3FE Adriaan de Groot --nextPart46442012.BKG00ETQKf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCbVw7dqzuAf6io/4RAtE0AJ4hHgh174GIBzXOavbx2uCg1z8MJACbBUFX b8tMzUCGscEPyjOGwUa6uvg= =MbOx -----END PGP SIGNATURE----- --nextPart46442012.BKG00ETQKf-- --Boundary-00=_7wVbCmQv02obwmT Content-Type: text/x-diff; charset="us-ascii"; name="enable-apidox.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="enable-apidox.diff" Index: acinclude.m4.in =================================================================== RCS file: /home/kde/kde-common/admin/acinclude.m4.in,v retrieving revision 2.509 diff -u -3 -p -r2.509 acinclude.m4.in --- acinclude.m4.in 21 Apr 2005 17:10:59 -0000 2.509 +++ acinclude.m4.in 25 Apr 2005 21:01:24 -0000 @@ -4539,6 +4539,7 @@ AC_DEFUN([AC_CHECK_UTMP_FILE], AC_DEFUN([KDE_CREATE_SUBDIRSLIST], [ +AC_ARG_ENABLE(apidox,AS_HELP_STRING([--enable-apidox],[Configure for apidox, not compilation.]),[DO_NOT_COMPILE=""]) DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin" TOPSUBDIRS="" --Boundary-00=_7wVbCmQv02obwmT--