diff options
author | Andrea Richiardi <a.richiardi.work@gmail.com> | 2018-11-17 12:29:47 -0800 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2018-11-25 20:11:16 -0500 |
commit | 99f0c62b3edc3c03ef7ef3dbfb581aef0c4c6caf (patch) | |
tree | 3a032a3a9e1c9e833b65ee55ab17fd6e4ce28deb /doc | |
parent | 6813fe93141556cc716498ecffcff33c364e3b9c (diff) |
Improve the Makefile autoload and compilation sections
Inspired by the immense magit, we now have a similar way to build the
autoloads.el file and additionally we combine both autoload and compilation
steps under the build target. With this change, manual installation and tools
like borg can just call make and have everything ready for consumption.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/hacking_on_cider.md | 5 | ||||
-rw-r--r-- | doc/installation.md | 9 |
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/hacking_on_cider.md b/doc/hacking_on_cider.md index f260f519..163e699c 100644 --- a/doc/hacking_on_cider.md +++ b/doc/hacking_on_cider.md @@ -30,10 +30,11 @@ Then: ```el ;; load CIDER from its source code (add-to-list 'load-path "~/projects/cider") -(require 'cider) -(require 'cider-autoloads) +(load "cider-autoloads" t t) ``` +If you want to compile **and** generate autoloads, just run `make`. + ### Changing the code It's perfectly fine to load CIDER from `package.el` and then to start making diff --git a/doc/installation.md b/doc/installation.md index 8ebcbf47..82aa91b7 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -114,11 +114,10 @@ following command: ## Manual installation -Installing CIDER manually is discouraged unless you plan to work with -CIDER's codebase. The manual installation is relatively involved as it -requires manual installation of the dependencies and manual generation -of the package autoloads. Check out the section [Hacking on -CIDER](hacking_on_cider.md) for more details. +Installing CIDER manually is discouraged unless you plan to work with CIDER's +codebase. The manual installation is relatively involved as it requires manual +installation of the dependencies. Check out the section +[Hacking on CIDER](hacking_on_cider.md) for more details. ## CIDER's nREPL middleware |