about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2013-06-27 12:13:55 -0700
committerDaniel Micay <danielmicay@gmail.com>2013-06-27 23:20:43 -0400
commitd805859ff5bf90f7513550453a7fd797eb2e778d (patch)
tree3706617233ce76388e80383f39773253d7f2d516
parentb854d6ea1caf9051fcd3da822e0f65c437d1ed84 (diff)
downloadrust-d805859ff5bf90f7513550453a7fd797eb2e778d.tar.gz
rust-d805859ff5bf90f7513550453a7fd797eb2e778d.zip
rustpkg: Update manual
-rw-r--r--doc/rustpkg.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/rustpkg.md b/doc/rustpkg.md
index b12bce5a0af..506fc2ad15a 100644
--- a/doc/rustpkg.md
+++ b/doc/rustpkg.md
@@ -95,12 +95,22 @@ When building a package that is in a `git` repository,
 When building a package that is not under version control,
 or that has no tags, `rustpkg` assumes the intended version is 0.1.
 
+# Dependencies
+
+rustpkg infers dependencies from `extern mod` directives.
+Thus, there should be no need to pass a `-L` flag to rustpkg to tell it where to find a library.
+(In the future, it will also be possible to write an `extern mod` directive referring to a remote package.)
+
 # Custom build scripts
 
 A file called `pkg.rs` at the root level in a workspace is called a *package script*.
 If a package script exists, rustpkg executes it to build the package
 rather than inferring crates as described previously.
 
+Inside `pkg.rs`, it's possible to call back into rustpkg to finish up the build.
+`rustpkg::api` contains functions to build, install, or clean libraries and executables
+in the way rustpkg normally would without custom build logic.
+
 # Command reference
 
 ## build