I have the following Makefile.am:

  docdir = $(datadir)/doc/@[EMAIL PROTECTED]@PACKAGE_VERSION@

  EXTRA_DIST = manual

  MAINTAINERCLEANFILES = manual/*

  html: manual

  installdirs-local:
        $(mkinstalldirs) $(DESTDIR)$(docdir)/manual

  install-data-local: manual installdirs-local
        $(INSTALL_DATA) ./manual/* $(DESTDIR)$(docdir)/manual

  uninstall-local:
        rm -rf $(DESTDIR)$(docdir)/manual

  manual:
        $(DOXYGEN)

When "make distcheck" runs "make install", I get this:

make[1]: Entering directory `/home/bmcdaniel/src/openvrml/openvrml/BUILD/openvrml-0.14.99/_build'
Making install in doc
make[2]: Entering directory `/home/bmcdaniel/src/openvrml/openvrml/BUILD/openvrml-0.14.99/_build/doc'
make[3]: Entering directory `/home/bmcdaniel/src/openvrml/openvrml/BUILD/openvrml-0.14.99/_build/doc'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /home/bmcdaniel/src/openvrml/openvrml/BUILD/openvrml-0.14.99/_inst/share/doc/openvrml-0.14.99/manual
mkdir -p -- /home/bmcdaniel/src/openvrml/openvrml/BUILD/openvrml-0.14.99/_inst/share/doc/openvrml-0.14.99/manual
/usr/bin/install -c -m 644 ./manual/* /home/bmcdaniel/src/openvrml/openvrml/BUILD/openvrml-0.14.99/_inst/share/doc/openvrml-0.14.99/manual
/usr/bin/install: cannot stat `./manual/*': No such file or directory
make[3]: *** [install-data-local] Error 1
make[3]: Leaving directory `/home/bmcdaniel/src/openvrml/openvrml/BUILD/openvrml-0.14.99/_build/doc'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/bmcdaniel/src/openvrml/openvrml/BUILD/openvrml-0.14.99/_build/doc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/bmcdaniel/src/openvrml/openvrml/BUILD/openvrml-0.14.99/_build'
make: *** [distcheck] Error 2


Since install-data-local depends on manual, I don't understand why doxygen doesn't get called at that point. Any suggestions?

--
Braden McDaniel                           e-mail: <[EMAIL PROTECTED]>
<http://endoframe.com>                    Jabber: <[EMAIL PROTECTED]>




Reply via email to