[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

building texi files with make check under AIX - how to stop it!!

From: Ed Hartnett
Subject: building texi files with make check under AIX - how to stop it!!
Date: Thu, 04 Jan 2007 08:49:00 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

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

doc_DATA = $(pdf_docs) $(html_mans) $(txt_docs) $(ps_docs)      \
$(html_docs) $(info_docs)

(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 ./ ./[0-9]
        ./[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.texi; \
        then \
          rc=0; \
          cd .; \
        else \
          rc=$?; \
          cd . && \
          $restore $backupdir/* `echo "././" | 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'
         DU, IRIX).  You might want to install the `Texinfo' package
         the `GNU make' package.  Grab either from any GNU archive

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 Hartnett  -- address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]