From kde-devel Fri Oct 29 21:44:56 2004 From: Alexander Dymo Date: Fri, 29 Oct 2004 21:44:56 +0000 To: kde-devel Subject: Re: Updating a Makefile.am Message-Id: <200410300044.57001.adymo () kdevelop ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=109922643102668 On Friday 29 October 2004 19:40, David Faure wrote: > > a) KDevelop, when adding a new class, adds the source file to _SOURCES, > > of course, but the header is added in noinst_HEADERS. Both the howto, and > > the manual, say that they should be added to AM_CPPFLAGS (indeed, they > > are because $(all_includes) ). It's a minor bug in KDevelop, or it acts > > this way because a justified reason? > You're confusing headers that you wrote yourself, and headers that you use. > Headers that you wrote yourself can go in noinst_HEADERS, or you can omit > them completely. For headers that you want to use, you need a -I directive > in AM_CPPFLAGS indeed. KDevelop must have headers included somewhere in makefile.ams in order to parse them. Any header file not already in noinst_HEADERS will be added there automatically by KDevelop automake manager (it doesn't write to Makefile.am, just adds headers in GUI). -- Alexander Dymo ICST Department, National University of Shipbuilding, Mykolayiv, Ukraine >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<