make install: No rule to make target `index.hhk'



On 13/05/2012 3:49 AM, Robert Dodier wrote:
> On 2012-05-12, Barton Willis<willisb at unk.edu>  wrote:
>
>> [ -z  "$bad_files" ] || ( echo "WARNING: The following files have unexpanded Tab
>> s: $bad_files" ; \
>> echo "Run /doc/info/fix_tab to fix the problem." )
>> make[4]: Entering directory `/cygdrive/c/maximagit/maxima/doc/info'
>> make[4]: Nothing to be done for `install-exec-am'.
>> make[4]: *** No rule to make target `index.hhk', needed by `install-datafiles'.
> Barton, I see that index.hhk is created by executing the Perl script
> create_index, which is executed by the rule for contents.hhc. I guess
> make decided not to execute the rule for some reason. If you remove
> contents.hhc and try again, does it execute create_index? if so, does
> create_index create index.hhk?
>
> HTH. Just some guesses after looking at Makefile.am.
Correct.  The following patch makes the dependency explicit.  I will 
test it on a full build  then check it in.

diff --git a/doc/info/Makefile.am b/doc/info/Makefile.am
old mode 100644
new mode 100755
index 208ccd6..bcc20f5
--- a/doc/info/Makefile.am
+++ b/doc/info/Makefile.am
@@ -219,7 +219,7 @@ maxima-index.lisp: maxima.info build_index.pl
  maxima.html: maxima.texi $(maxima_TEXINFOS)
         sh extract_categories.sh maxima

-contents.hhc: maxima.html
+contents.hhc index.hhk: maxima.html
         perl ./create_index

  include $(top_srcdir)/common.mk