#3 make install doesn't install headers

closed-out-of-date
None
5
2009-04-08
2005-04-06
No

I think

"make install"

should install all headers. This could eventually be
done by replacing

nobase_include_HEADERS

with

include_HEADERS

in src/Makefile.am and util/Makefile.am.

OTOH I belive automake doesn't support subdirectories
this way.
Maybe it would be better to have the include directory
"util" in SUBDIRS
and a Makefile.am there with

pkginclude_HEADERS = ...

Anyway -- the headers should be installed on "make
install" IMHO.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    What system do you use? (particularly automake version, etc.)

    Over here, "make install" *does* install all of the headers.
    They should all be located in a "gaul" subdirectory of
    either the default include dir or wherever configure was
    told to install headers. The gaul.h header is the only
    header that should be directly used by third-party code, and
    all the others are placed in such a "gaul" subdirectory to
    avoid the inevitable name clashes.

    As far as "nobase_include_HEADERS" is concerned, this is
    used to avoid path stripping as required for the above.
    According to my interpretation of the automake
    documentation, this is a perfectly reasonable way to handle
    subdirectories.

     
  • Stewart Adcock

    Stewart Adcock - 2005-04-22
    • assigned_to: nobody --> stewartadcock
    • status: open --> open-works-for-me
     
  • Stewart Adcock

    Stewart Adcock - 2009-04-08
    • status: open-works-for-me --> closed-out-of-date
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks