Summary: | headers in noinst / install | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Pablo Yaggi <pyaggi> |
Component: | Build tools: Automake | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | relanikas |
Priority: | NOR | ||
Version: | 3.2.2 | ||
Target Milestone: | --- | ||
Platform: | Mandriva RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Pablo Yaggi
2005-08-09 19:35:41 UTC
Hmm.. I think this works reasonably well. The "headers in no-inst" is a pseudo-target that the Automake Manager uses in order to keep track of header files that are not in any other way listed in any Makefile.am file. This is done to have those files also "part of the project" which is needed, among other things, for the language parser to be aware of them. Most of the time, you don't want to list the header file in the Makefile.am, so defaulting to "headers in noinst" creates the least bit of work for the user for the typical use case. If you want the header to be listed in install (or some other target) it is, as you say, just a matter of adding it to that target. The next time you load the project, the header will then only appear in the install target, not in the noinst target. Yes, it would be slightly nicer if the header was removed from noinst when you added it somewhere else, but this would be inconsistent with other targets and adds further complexity to the AM. I simply doubt we want to do this for such a minor gain. WONTFIX. 1. if i create separate target for headers, name: headers, part/section: includes then it would create such target, and i would be able to add files to it, and it even would install everything correctly to /usr/include, but once you reopen project, every header appears in <blank>(headers noinst). 2. if i create headers in package includes(pkgincludes) then it doesn't seem to append package's name to /usr/include path... and if i reopen project - all header files again in (headers noinst) also Makefile.AM has a line like _HEADERS, or name_HEADERS for named header target. IIRC <blank>_HEADERS would even produce some compilation warning, like variable unused or smth.. i'm using version of kdevelop from debian unstable repositories(fetched ~week ago) |