Changes between Version 25 and Version 26 of pm-autotools


Ignore:
Timestamp:
Feb 26, 2011 12:22:02 PM (9 years ago)
Author:
stefan
Comment:

correct what Dependencies file contains

Legend:

Unmodified
Added
Removed
Modified
  • pm-autotools

    v25 v26  
    5959You can run the autotools on your package by going into the package's base directory ({{{Coin-Clp}}} in the [wiki:user-directories directory structure example]) and running the '''{{{BuildTools/run_autotools}}}''' script. When run with no parameters, the script will examine the current directory and subdirectories for {{{configure.ac}}} files. For each directory found to contain a {{{configure.ac}}} file, the script will copy the required auxiliary files into the directory, create a temporary link to the !BuildTools directory (if not existing yet), and run the autotools. You can also explicitly specify a set of directories as arguments and disable the recursion into subdirectories. The {{{run_autotools}}} script also observes the environment variable {{{COIN_SKIP_PROJECTS}}}.
    6060
    61 Once you have a working version of your package and you can run {{{make}}}, you should (re)run the {{{configure}}} script with the '''{{{--enable-maintainer-mode}}}''' parameter.  This will activate a number of makefile rules that simplify the maintenance of the configuration files. When you now edit a {{{configure.ac}}} or {{{Makefile.am}}} file, the corresponding autotool program will be run at the next execution of {{{make}}}. If necessary, the {{{configure}}} script will be rerun so that everything is kept up-to-date. Specific to COIN-OR, when the {{{Dependencies}}} file, which contains the definitions of subversion externals, has changed, the subversion {{{svn:externals}}} property of the base directory will be automatically updated.
     61Once you have a working version of your package and you can run {{{make}}}, you should (re)run the {{{configure}}} script with the '''{{{--enable-maintainer-mode}}}''' parameter.  This will activate a number of makefile rules that simplify the maintenance of the configuration files. When you now edit a {{{configure.ac}}} or {{{Makefile.am}}} file, the corresponding autotool program will be run at the next execution of {{{make}}}. If necessary, the {{{configure}}} script will be rerun so that everything is kept up-to-date. Specific to COIN-OR, when the {{{Dependencies}}} file, which contains the [wiki:pm-svn-externals definitions of project dependencies], has changed, the subversion {{{svn:externals}}} property of the base directory will be automatically updated.
    6262
    6363A few notes of caution when maintainer mode is enabled: