summaryrefslogtreecommitdiff
path: root/morphlib/buildsystem.py
Commit message (Collapse)AuthorAgeFilesLines
* buildsystem: Generate a Morphology not textAdam Coldrick2014-08-141-11/+8
| | | | | Rather than generating the text of a morphology which is later loaded, generate a Morphology object and return that.
* Add detection for cmake and qmake build systemsRichard Dale2013-05-291-0/+57
| | | | Add tests for cmake and qmake build systems
* Fix copyright yearsSam Thursfield2013-03-071-1/+1
|
* Add pre- and post-commands for chunksLars Wirzenius2013-02-191-0/+12
| | | | | | | | We already have configure-commands. Add pre-configure-commands and post-configure-commands. Likewise for build-command, test-commands, and install-commands. Added-to-pacify: Rob Kendrick
* Revert "Merge remote-tracking branch 'origin/jonathanmaw/autotools-sysconfdir'"water-bombSam Thursfield2012-11-131-1/+1
| | | | | | | | | | cmake has a ./configure, which accepts --prefix, but chokes on --sysconfdir This means that bootstrap is broken by this commit. This reverts commit 5f22ded9711a047704fc91b68a182b057e29bc0f, reversing changes made to e13753d4f3e26f3a4c705fb3e694ae8dea860c2d.
* Set sysconfdir to /etc when morph builds an autotools projectJonathan Maw2012-11-081-1/+1
| | | | | | Some autotools projects default their sysconfdir to $prefix/etc. This leads to some projects trying to install files to /usr/etc, which is not desired.
* Refactor build system code for easier testingSam Thursfield2012-08-241-13/+10
|
* Use git ls-tree to autodetect build systemSam Thursfield2012-08-241-1/+3
| | | | | | | The cost of one git ls-tree call is roughly the same as one git cat-file call. Therefore, when autodetecting the build system, it is much faster to list the tree once and then search for the required files than to call git cat-file for every possible one.
* Add support for autogen in addition to autogen.shLars Wirzenius2012-08-081-1/+3
| | | | | | | | This is needed to support Colin Walters's suggested build API (http://people.gnome.org/~walters/docs/build-api.txt). In fact, it's all we need to support it, I think. Reviewed-By: Richard Maw (on irc)
* python scripts: pep8ize codebaseRichard Maw2012-08-011-34/+33
| | | | | | | | | This was done with the aid of the pep8 script, available by running `easy_install pep8`. It may be worth making this part of ./check, but that will require putting pep8 into the development tools stratum. This should be easy, given pep8 has no external dependencies.
* Merge remote branch 'origin/samthursfield/avoid-double-configure'Lars Wirzenius2012-07-181-0/+1
|\ | | | | | | Added a missing "export" and reformatted long lines a bit.
| * Avoid running configure twice on Autotools projectsSam Thursfield2012-07-181-1/+1
|/ | | | | We can set NOCONFIGURE=1 to prevent ./autogen.sh from running configure
* CPANBuildSystem: split command into linesRichard Maw2012-04-251-1/+7
|
* CPANBuildSystem: install into perl dirs insteadRichard Maw2012-04-251-1/+1
| | | | | | This is needed because otherwise it will install the .pod file into where the building perl expects it to be, which we should not assume is the same as what we are building for.
* CPANBuildSystem: install to standard pathsRichard Maw2012-04-241-1/+1
| | | | | | | This needs to be set otherwise the paths of the perl building it will be used. This needs to be kept in sync with the perl that is being built as well otherwise it won't be able to find modules
* CPANBuildSystem: use $PREFIXRichard Maw2012-04-231-1/+1
|
* CPANBuildSystem: use destdirRichard Maw2012-04-231-1/+1
|
* buildsystem: rename Perl build system to CPANRichard Maw2012-04-231-4/+4
|
* buildsystem.py: Add support for generic Perl build systemJavier Jardón2012-04-231-0/+28
|
* PythonDistutilsBuildSystem: set --prefixRichard Maw2012-04-231-1/+1
|
* buildsystem.py: autotools project can only have a 'configure' fileJavier Jardón2012-04-181-0/+1
|
* Add an auto-detected 'python-distutils' build system.Jannis Pohlmann2012-04-171-1/+28
| | | | | This might still require --prefix to be passed to the install command to work with custom prefixes.
* Make build system autodetection use an file existence function passed inLars Wirzenius2012-03-301-9/+14
|
* Change detect_build_system to not default to manualLars Wirzenius2012-03-301-4/+2
| | | | | | We do not want a manual build system if there is no morphology, since building with a no-op manual build system just hides the fact that the chunk can't be built because a morphology is missing.
* Make build system class return artificial text for missing morphologyLars Wirzenius2012-03-301-0/+14
|
* Add indexing access to the various commands in build systemsLars Wirzenius2012-03-301-0/+4
|
* Improve error message for unknown build system nameLars Wirzenius2012-03-301-1/+2
|
* Add the build commands for autotoolsLars Wirzenius2012-03-301-0/+15
|
* Add a dummy build systemLars Wirzenius2012-03-301-0/+16
|
* Add looking up of build systems by nameLars Wirzenius2012-03-301-4/+24
|
* Add default (empty) command lists for build systemsLars Wirzenius2012-03-301-1/+7
|
* Add autodetection for autotools, and a factory functionLars Wirzenius2012-03-301-0/+33
|
* STart a build system abstraction with autodetectionLars Wirzenius2012-03-301-0/+46