Menu

#46 install error when doxygen is not present.

closed-fixed
5
2007-05-10
2006-03-04
No

Version: libexif-0.6.13
System: Linux from scratch

Description: When doxygen is not installed, 'make
install' aborts with the following error:
"*** No rule to make target `install-apidocs',
needed by `install-data-local'."

This patch fixes both doc/Makefile.in and doc/Makefile.
am.

Discussion

  • Hugo Villeneuve

    Hugo Villeneuve - 2006-03-04

    patch

     
  • Dan Nicholson

    Dan Nicholson - 2006-03-19

    Logged In: YES
    user_id=1198355

    I can confirm that the install will fail with the above
    error when Doxygen isn't present. The problem is that with
    Doxygen, the HAVE_DOXYGEN check from Makefile.am is false,
    and the install-apidocs and install-apidocs-internal are
    commented out in doc/Makefile. Since these targets do not
    have a .PHONY entry, make install bombs in doc.

    The solution is either with the patch provided by Hugo
    Villeneuve to doc/Makefile.am, or to add install-apidocs* to
    .PHONY. Here's an inline patch to the current CVS.
    Regenerating doc/Makefile.in with autogen.sh solved the problem.

    Index: doc/Makefile.am

    RCS file: /cvsroot/libexif/libexif/doc/Makefile.am,v
    retrieving revision 1.7
    diff -u -r1.7 Makefile.am
    --- doc/Makefile.am 18 Jul 2005 20:36:24 -0000 1.7
    +++ doc/Makefile.am 19 Mar 2006 19:23:21 -0000
    @@ -74,12 +74,16 @@

    all-local: $(DOXYGEN_STAMPS)

    +if HAVE_DOXYGEN
    +
    install-data-local: install-apidocs install-apidocs-internals

    uninstall-local: uninstall-apidocs uninstall-apidocs-internals

    clean-local: clean-apidocs

    +endif
    +
    upload: $(DOXYGEN_UPLOAD)

    CLEANFILES = $(DOXYGEN_FILES) $(DOXYGEN_STAMPS)

     
  • Hans Ulrich Niedermann

    Logged In: YES
    user_id=59853
    Originator: NO

    Fixed in CVS.

     
  • Hans Ulrich Niedermann

    • status: open --> closed-fixed
     

Log in to post a comment.