Changes between Initial Version and Version 1 of ConvertingToAutomake


Ignore:
Timestamp:
04/09/13 20:20:10 (9 years ago)
Author:
achernya
Comment:

Initial version of documentation for converting to automake

Legend:

Unmodified
Added
Removed
Modified
  • ConvertingToAutomake

    v1 v1  
     1Currently, a large part of athena/{bin,lib} uses autoconf without automake, directly invokes libtool, and generally is very hard to maintain. Switching to automake, while updating the autoconf configure script, provide the benefits of `make dist`, allowing Athena to once again have a simple release process, as well as simplified Makefiles. 
     2 
     3The general process for converting a package to automake is modeled by libathdir. 
     4 * First, move the source into src/, creating a deeper folder hierarchy if needed (see hesiod) 
     5 * Replace Makefile.in with Makefile.am 
     6 * Run `autoscan` to get suggestions about missing checks 
     7 * Ensure everything builds 
     8 
     9The flags in configure.ac for libathdir are to be copied to all other packages. These include the maintainer mode, quiet build (note this should be disabled for Debian Packages), and the automake flags (foreign and -Wall are extremely important)