|
|
|||||||||||||||||||||||||
![]() |
![]() |
||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
|
|
|
|
|||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
|
|
|
|
|||||||||||||||||||||||
|
4.6.4 Automatic RemakingYou can put rules like the following in the top-level `Makefile.in' 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 `Makefile.in' rules for any of these files that your package does not use.
The `$(srcdir)/' prefix is included because of limitations in the
The `stamp-' files are necessary because the timestamps of
`config.h.in' 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 `stamp-h.in' your
package's distribution, so
(Be careful if you copy these lines directly into your Makefile, as you will need to convert the indented lines to start with the tab character.)
In addition, you should use `AC_CONFIG_FILES(stamp-h, echo
timestamp > stamp-h)' so `config.status' will ensure that
`config.h' is considered up to date. See section 4.3 Outputting Files, for more
information about See section 14. Recreating a Configuration, for more examples of handling configuration-related dependencies.
|
|
|||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
|
Marketplace: | |||||||||||||||||||||||||
| " Measuring programming progress by lines of code is like measuring aircraft building progress by weight. " | |||||||||||||||||||||||||