Howdy all! I am using automake 1.10, and having a problem on AIX systems, with AIX make.
I have some texi manuals as part of the software, but I ship the built documentation with the distribution, so that the end user does not have to have all the tools required to build the documents. I include the docs in the dist with the following in my Makefile.am: if INSTALL_DOCS doc_DATA = $(pdf_docs) $(html_mans) $(txt_docs) $(ps_docs) \ $(html_docs) $(info_docs) endif (where INSTALL_DOCS is an automake conditional which allows the user to turn off the install of docs). With GNU make this works well everywhere, but using the AIX make it tries to build the documents anyway, and this causes an error: Making check in man restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && cd . && \ rm -rf $backupdir && mkdir $backupdir && \ if (/bin/sh /home/ed/netcdf-3.6.2-beta5/missing --run makeinfo --version) >/dev/null 2>&1; then \ for f in ./netcdf.info ./netcdf.info-[0-9] ./netcdf.info-[0-9][0-9] ./netcdf.i[0-9] ./netcdf.i[0-9][0-9\ ]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if /bin/sh /home/ed/netcdf-3.6.2-beta5/missing --run makeinfo -I . \ -o ./netcdf.info ./netcdf.texi; \ then \ rc=0; \ cd .; \ else \ rc=$?; \ cd . && \ $restore $backupdir/* `echo "././netcdf.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc /home/ed/netcdf-3.6.2-beta5/missing[54]: makeinfo: not found. WARNING: `makeinfo' is missing on your system. You should only need it if you modified a `.texi' or `.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy `make' (AIX, DU, IRIX). You might want to install the `Texinfo' package or the `GNU make' package. Grab either from any GNU archive site. Can this problem be fixed? Telling people to now use AIX make is just not acceptable for us. The next thing I am going to try is to put the texi documentation into it's own directory, and see if I can cause the top level makefile to just skip that directory. But this will be dorky, because I still have to install built docs... Any thoughts appreciated... Ed -- Ed Hartnett -- [EMAIL PROTECTED]