( Automatic Remaking

Info Catalog ( Build Directories ( Makefile Substitutions
 3.3.3 Automatic Remaking
 You can put rules like the following in the top-level `' for
 a package to automatically update the configuration information when
 you change the configuration files.  This example includes all of the
 optional files, such as `aclocal.m4' and those related to configuration
 header files.  Omit from the `' rules any of these files
 that your package does not use.
    The `${srcdir}/' prefix is included because of limitations in the
 `VPATH' mechanism.
    The `stamp-' files are necessary because the timestamps of
 `' and `config.h' will not be changed if remaking them does
 not change their contents.  This feature avoids unnecessary
 recompilation.  You should include the file `' your package's
 distribution, so `make' will consider `' up to date.  On
 some old BSD systems, `touch' or any command that results in an empty
 file does not update the timestamps, so use a command like `echo' as a
      ${srcdir}/configure: aclocal.m4
              cd ${srcdir} && autoconf
      # autoheader might not change, so touch a stamp file.
      ${srcdir}/ aclocal.m4 acconfig.h \

              cd ${srcdir} && autoheader
              echo timestamp > ${srcdir}/
      config.h: stamp-h
      stamp-h: config.status
      Makefile: config.status
      config.status: configure
              ./config.status --recheck
    In addition, you should pass `echo timestamp > stamp-h' in the
 EXTRA-CMDS argument to `AC_OUTPUT', so `config.status' will ensure that
 `config.h' is considered up to date.   Output, for more
 information about `AC_OUTPUT'.
     Invoking config.status, for more examples of handling
 configuration-related dependencies.
Info Catalog ( Build Directories ( Makefile Substitutions
automatically generated byinfo2html