summaryrefslogtreecommitdiff
path: root/src/librefetch/librefetch.8.ronn
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-08-07 23:46:19 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-08-07 23:46:19 -0600
commit14a150b73b66288dfdd67a275d88a0367c122210 (patch)
tree0d5374c9dbbb519edfae3891a12424af220c0fb2 /src/librefetch/librefetch.8.ronn
parent45ed1620d3aaad1978782a437211fc51b383eec6 (diff)
librefetch: add a `print` mode
Diffstat (limited to 'src/librefetch/librefetch.8.ronn')
-rw-r--r--src/librefetch/librefetch.8.ronn10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/librefetch/librefetch.8.ronn b/src/librefetch/librefetch.8.ronn
index 5df2e09..44c24f5 100644
--- a/src/librefetch/librefetch.8.ronn
+++ b/src/librefetch/librefetch.8.ronn
@@ -18,13 +18,14 @@ package adds `librefetch` as a download agent for `libre://` to
`makepkg.conf`. Because of this, it is almost never necessary to call
`librefetch` manually.
-There are 6 modes:
+There are 7 modes:
* `download-create`: The default mode. First try `download` mode,
then `create` mode.
* `download`: Download the tarball from the configured mirror.
* `create`: Create the tarball from a `PKGBUILD`/`SRCBUILD`.
* `checksums`: Generate integrity checks for source files.
+ * `print`: Print the effective build script.
* `version`: Print `librefetch` version information.
* `help`: Print `librefetch` usage information.
@@ -37,6 +38,7 @@ There are 6 modes:
directory, it is used instead.
* `-g` | `--geninteg`: Use `checksums` mode: Generate integrity
checks for source files.
+ * `-P` | `--print`: Use `print` mode: print the effective build script.
* `-V` | `--version`: Use `version` mode: Show version information.
* `-h` | `--help`: Use `help` mode: Show useage information.
@@ -62,6 +64,12 @@ When this documentation speaks of a file being modified, it is a
temporary copy of the file that is modified, your original file will
remain intact.
+## SRCBUILD GENERATION
+
+As explained in the `CREATE MODE` section, in `create` mode, this
+program generates an `SRCBUILD` file. For debugging purposes, this
+file can be printed instead of executed with `print` mode.
+
### PRE-EXISTING SRCBUILD
The use of `SRCBUILD` files pre-dates `librefetch`. By convention,