Commit graph

330 commits

Author SHA1 Message Date
Alexis Hildebrandt
967a76193e [acprep]: Add libutfcpp-dev dependency
[ci skip]

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-12 11:26:23 +01:00
Alexis Hildebrandt
cc0b32d9bc [acprep] Remove obsoleted submodule phase
Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-12 10:50:43 +01:00
Hans Erik van Elburg
ea397d205c remove unnecessary if artifact 2015-01-04 00:10:55 +01:00
Hans Erik van Elburg
6644d3c641 remove reference to url 2015-01-04 00:02:49 +01:00
Hans Erik van Elburg
93c55c5ec6 also added cygwin tweak to src/CMakeLists.txt 2015-01-03 23:35:39 +01:00
Hans Erik van Elburg
617be983b9 initial cygwin tweaks 2015-01-03 02:27:27 +01:00
John Wiegley
62e1354e0b Some minor changes 2014-11-04 00:11:35 -06:00
Johann Klähn
2860b68bc2 clean up installation of doc files 2014-09-10 00:40:36 +02:00
tripun
54f8381e6a fix code coverage problem 2014-07-24 21:32:58 +05:30
Jack Nagel
b19761ff19 acprep: remove dead code
This isn't used anywhere since 4681e58d7f.
2014-06-05 16:34:10 -05:00
thdox
ed52bebcfd Lower down (from 1.55) requirements towards libboost
Fix some typos
2014-05-17 13:27:28 +02:00
thdox
c61f137968 Hardy, Karmic, Oneiric are obsolete Ubuntu releases.
See http://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Table_of_versions
2014-05-11 17:21:49 +02:00
thdox
4b6e051adb Ubuntu 14.04 compilation help update:
- add patch from Hans Erik van Elburg posted on mailing-list on
  9-May-2014
- add also some documentation in README files
2014-05-11 17:13:09 +02:00
John Wiegley
c254bea797 Restore -DBUILD_DIR 2014-05-07 20:52:37 +00:00
John Wiegley
1aa0e03a9e Fix build for building with g++ 4.8 2014-05-07 20:49:45 +00:00
Alexis Hildebrandt
dcb285ac55 Improve installation of documentation files
- Install info version of ledger documentation instead of the original
  texinfo sources

- Install html version of ledger documentation when BUILD_WEB_DOCS is ON

- Enable installation of documentation files from --output directory
2014-05-05 06:46:01 +02:00
Alexis Hildebrandt
81e12aa1f2 acprep: fix verbose build when using ninja 2014-05-04 01:06:57 +02:00
Alexis Hildebrandt
4c4367fe6b Fix Travis CI build
- Install and use GNU GCC 4.8 to support required C++11 standard
- Build Boost (1.55.0) libraries needed by ledger
- Export build and cmake variables to find locally built Boost
2014-04-23 11:30:44 +02:00
Alexis Hildebrandt
021e0ecde9 Update dependencies installation
for Ubuntu Saucy Salamander
2014-02-02 09:16:35 +00:00
Alexis Hildebrandt
b98662e713 Correct log output for acprep check 2014-02-01 19:34:45 +01:00
Alexis Hildebrandt
31705094c1 Update dependencies installation
for Mac Hombrew and Ubuntu Precise Pangolin
2014-02-01 19:33:21 +01:00
Travis Snoozy
119e337f4b Make acprep use "str.split" not "string.split"
Python is displeased with acprep if a *FLAGS environment variable is
set. This patch converts the problematic "string.split" statement to
instead be "str.split", which appears to fix the problem.
2013-05-23 09:25:10 -06:00
Javier Santacruz
379bae087e Improves acprep python3 compatibility
Replaces string.join with str.join
Forces conversion to str from byte-returning functions
Introduces usage of 'as' keyword when catching exception instances
Replaces has_key with usage of the 'in' keyword for dictionary key presence checking.
2013-04-27 13:47:07 +02:00
Johann Klähn
90ced87004 fix typos in acprep 2013-04-13 13:10:56 +02:00
John Wiegley
b21ee1de17 Merge branch 'next' of github.com:ledger/ledger into next 2013-01-30 17:01:00 -06:00
John Wiegley
ccca974dad Use -O3 with Clang instead of -O4 2013-01-30 17:00:22 -06:00
John Wiegley
be7af24250 Upgrade to Boost 1.52 2013-01-30 16:59:42 -06:00
Johann Klähn
20217e7c9c fix --no-python option
This would fail with `ValueError: list.remove(x): x not in list`.
2013-01-30 23:38:11 +01:00
Johann Klähn
9e3652dd4f acprep: pass options starting with -D to CMake 2013-01-30 23:37:29 +01:00
Johann Klähn
5ee03de0ad fix option handling in acprep
Both the `--local` option and the default to build local if no build
directory exists did not work, because `build_directory()` uses
`self.options.build_dir`, but the default and the `--local` option used
`self.build_dir`.
I changed the code to always use `self.options` for options/flags.
Now `self.options` is set to the default values of OptParser and is
updated when `parse_args` is called in `run`.

After this commit ledger will be built in:
  * The directory specified using `--output=`
  * Else in a subdirectory of `./build` or `~/Products` if one of those
    directories exist and `--local` is not used.
  * Else inside the source tree (default).
2013-01-30 23:07:17 +01:00
John Wiegley
dcd64a6782 Added -N/--ninja option to acprep 2012-09-27 17:42:43 -05:00
John Wiegley
a9bd40a1e3 Don't use the ninja build command by default 2012-09-27 17:40:17 -05:00
John Wiegley
300cefd1a7 Changes to support using homebrew and ninja 2012-09-26 12:25:26 -05:00
John Wiegley
7c288b956d Changes for CMake 2012-09-21 15:12:38 -05:00
Bradley M. Kuhn
5b916dae6c Correct cmake variable for install prefix is "CMAKE_INSTALL_PREFIX", not "CMAKE_PREFIX_PATH".
CMAKE_PREFIX_PATH is for searching for other programs, not for the place
to install this one.  Based on acprep's --help, I think the intention was
to use CMAKE_INSTALL_PREFIX here.
2012-09-06 19:25:09 -04:00
John Wiegley
14ab4f7775 Updated to Boost 1.50 2012-07-30 23:24:04 -05:00
John Wiegley
2720f79522 Fix reference to self.options.products_dir 2012-06-11 18:57:17 -05:00
John Wiegley
571d711523 Was missing a period 2012-06-08 15:06:11 -05:00
John Wiegley
b64dcf7202 Change self.prefix_dir -> self.options.prefix_dir 2012-06-07 22:37:38 -05:00
John Wiegley
98df1296fe Build fixes to acprep and build.sh 2012-05-25 04:13:14 -05:00
John Wiegley
636b878e70 Give a reasonable error if CMake cannot be found 2012-05-23 02:00:02 -05:00
John Wiegley
c404f94d64 Changed the way that LDFLAGS is passed to CMake 2012-05-20 22:45:17 -05:00
John Wiegley
54649d1b7a Make profiling builds work with Clang 2012-05-20 16:06:32 -05:00
John Wiegley
0c1f40754a Build gcov mode also for Clang 2012-05-20 15:31:40 -05:00
John Wiegley
1b83c684fb More resiliency fixes 2012-05-20 14:15:48 -05:00
John Wiegley
a3e84aa155 A few more CMake-related fixes 2012-05-20 05:16:16 -05:00
John Wiegley
4681e58d7f Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
John Wiegley
b898d40a81 More configuration fixes 2012-05-10 16:30:32 -05:00
John Wiegley
8c0cb63dfd Change the way I choose a default compiler 2012-05-10 04:25:18 -05:00
John Wiegley
6a18669aa0 An acprep simplification 2012-05-10 04:11:50 -05:00