From de5cc279141b341cd224edd529a79e01191649f9 Mon Sep 17 00:00:00 2001 From: Johann Klähn Date: Wed, 23 Oct 2013 22:14:25 +0200 Subject: install texinfo files --- doc/CMakeLists.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 275678a8..2777da68 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -96,10 +96,11 @@ if(CMAKE_INSTALL_MANDIR) DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT doc) endif(CMAKE_INSTALL_MANDIR) -if(CMAKE_INSTALL_DOCDIR) - foreach(file ${info_files}) - get_filename_component(file_base ${file} NAME_WE) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${file_base}.pdf - DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT doc OPTIONAL) - endforeach() -endif(CMAKE_INSTALL_DOCDIR) +foreach(file ${info_files}) + get_filename_component(file_base ${file} NAME_WE) + + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${file} + DESTINATION ${CMAKE_INSTALL_INFODIR} COMPONENT doc) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${file_base}.pdf + DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT doc OPTIONAL) +endforeach() -- cgit v1.2.3 From d7d442135b4d472775533686f07174ffa63301e8 Mon Sep 17 00:00:00 2001 From: Craig Earls Date: Wed, 30 Oct 2013 06:40:17 -0700 Subject: And const directives in account.h and commodity.h to allow build in OS X Mavericks. --- src/account.h | 2 +- src/commodity.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/account.h b/src/account.h index daeee038..b726facf 100644 --- a/src/account.h +++ b/src/account.h @@ -310,7 +310,7 @@ void put_account(property_tree::ptree& pt, const account_t& acct, //simple struct added to allow std::map to compare accounts in the accounts report struct account_compare { - bool operator() (const account_t& lhs, const account_t& rhs){ + bool operator() (const account_t& lhs, const account_t& rhs) const { return (lhs.fullname().compare(rhs.fullname()) < 0); } }; diff --git a/src/commodity.h b/src/commodity.h index a1988a3b..d521d80e 100644 --- a/src/commodity.h +++ b/src/commodity.h @@ -353,7 +353,7 @@ void put_commodity(property_tree::ptree& pt, const commodity_t& comm, //simple struct to allow std::map to compare commodities names struct commodity_compare { - bool operator() (const commodity_t* lhs, const commodity_t* rhs){ + bool operator() (const commodity_t* lhs, const commodity_t* rhs) const { return (lhs->symbol().compare(rhs->symbol()) < 0); } }; -- cgit v1.2.3 From 979b5b990aea23bfa7d27a73d1e4bf80dae5bb5c Mon Sep 17 00:00:00 2001 From: Steve Purcell Date: Sun, 3 Nov 2013 21:34:55 +0000 Subject: Fix provided feature to match file/package name For `require` to work correctly, the provided feature name must match the name of the file. --- lisp/ledger-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ledger-mode.el b/lisp/ledger-mode.el index 387ace97..b604581c 100644 --- a/lisp/ledger-mode.el +++ b/lisp/ledger-mode.el @@ -293,6 +293,6 @@ Can indent, complete or align depending on context." -(provide 'ledger) +(provide 'ledger-mode) ;;; ledger-mode.el ends here -- cgit v1.2.3