Maxima automake 1.8 problem



Hi!

I'd like to remind that there is an old problem
with Maxima and automake 1.8 (I'm not sure about 1.9).
Namely info files in doc/info directory are built by make
but not installed by make install.

After some experiments with automake 1.7 and 1.8 I probably
managed to pin the problem down.  Unfortunately this doesn't
mean that I know to fix it.  Maybe some more knowlegeable
person could suggest a fix.

This is the structure of Makefile.in created by automake 1.7

...
...
...
install-data-am: install-info-am
...
...
...
install-date-am: install-datafiles
...
...
...

Here the first install-data-am rule are
automatically generated by automake and is
responsible for *.info installation.

The second rule is responsible for *.html installation and
comes from common.mk which is manually included in Makefile.am
by the command:

include $(top_scrdir)/common.mk

This is how "make install" works in doc/info with automake 1.7 or
earlier.  With automake 1.8 there is just one difference -
the first install-data-am rule is missing.
If I remove "include $(top_scrdir)/common.mk" from Makefile.am
then it reappears.  But in this case installation for *.html
files doesn't work.  It seems that automake 1.8 don't like
two rules with the same target in one Makefile.
The only cure I can figure out right now is to create
new common-info.mk which defines

install-date-am: install-info install-datafiles

but this is probably an ugly hack.



-- 
     Vadim V. Zhytnikov

      <vvzhy@mail.ru> 
     <vvzhy@netorn.ru>