Changes between Version 5 and Version 6 of pm-base-make


Ignore:
Timestamp:
Jun 2, 2006 9:22:51 PM (14 years ago)
Author:
andreasw
Comment:

cleaned up

Legend:

Unmodified
Added
Removed
Modified
  • pm-base-make

    v5 v6  
    3636}}}
    3737
    38  * The {{{Makefile.am}}} in a package base directory needs to be told into which subdirectories to recurse.  This is done with the '''SUBDIRS''' variable.  The Autoconf output variable is already automatically set to the correct value by {{{configure}}}, based on the results of the {{{AC_COIN_MAIN_SUBDIRS}}} macro tests.
     38 * The {{{Makefile.am}}} in a package base directory needs to be told into which subdirectories to recurse.  This is done with the '''SUBDIRS''' variable.  The Autoconf output variable {{{subdirs}}} is already automatically set to the correct value by {{{configure}}}, based on the results of the {{{AC_COIN_MAIN_SUBDIRS}}} macro tests.
    3939
    4040{{{
     
    5858}}}
    5959
    60  * In theis next section we can define '''extra Makefile targets'''.  As you can see, the '''test''' (and '''unitTest''') first make sure that everything is compiled (the target {{{all}}} is the automatically generated target for compilation of everything).  Then it changes into the packages project directory and runs the {{{test}}} target there.  It is also nice to provide a '''tests''' (and '''unitTests''') target, which runs the {{{test}}} targets in every project subdirectory that seems to have a {{{test}}} subdirectory with a Makefile.
     60 * In this section we can define '''extra Makefile targets'''.  As you can see, the '''test''' (and '''unitTest''') targets first make sure that everything is compiled (the target {{{all}}} is the automatically generated target for compilation of everything).  Then it changes into the packages project directory and runs the {{{test}}} target there.  It is also nice to provide a '''tests''' (and '''unitTests''') target, which runs the {{{test}}} targets in every project subdirectory that seems to have a {{{test}}} subdirectory with a Makefile.
    6161
    6262
     
    8181}}}
    8282
    83  * Finally, we '''include the !BuildTools include Makefile.am'''.  This makes sure that additional maintainer-specific targets are defined (such as an automatic update of the {{{svn:externals}}} property when the {{{Externals}}} file has been changed).  Since in this include files values are added to the '''DISTCLEANFILES''' variable, it needs to be "initalized" here, even if it is set to no value.
     83 * Finally, we '''include the !BuildTools include file Makemain.inc'''.  This makes sure that additional maintainer-specific targets are defined (such as an automatic update of the {{{svn:externals}}} property when the {{{Externals}}} file has been changed).  Since values are added to the '''DISTCLEANFILES''' variable in this include file, this variable has to be "initalized" here, even if it is set to an empty value.