#315 1.2.1 install-data-local fails for API documentation

Tim Mooney

When doing an install (I'm on x86_64-sun-solaris2.10, but that doesn't matter in this case) in the doc/html
directory, the install-data-local fails for the API documentation.

This happens because of the way that the install-data-local target is written. The target references $(INSTALL_DATA), which will likely be a relative path, but it tries to do so in a command that cd's into the api directory, so the relative path is off.

One possible fix is to not cd into the api directory for the install rule. The patch that I'll attach takes that approach.

The possible problem with that approach is that it adds to the length of the command line that gets invoked after the glob is expanded, so it may cause problems on some platforms.


  • Josh Coalson

    Josh Coalson - 2007-12-02
    • assigned_to: nobody --> jcoalson
  • Scott

    Scott - 2011-10-10

    I had a similar problem installing docs when using a build directory that differs from the source directory.... I found the following fixed the install problem:

    --- Makefile.am 2007-09-16 19:14:01.000000000 +0000
    +++ Makefile.am.new 2011-10-10 22:51:33.401696000 +0000
    @@ -73,7 +73,7 @@
    - (cd api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api)
    + (cd $(srcdir)/api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api)

  • Erik

    Erik - 2015-10-04
    • status: open --> closed-out-of-date
    • Group: --> 1.3.0
  • Erik

    Erik - 2015-10-04

    Closing old out-of-date issue.


Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks