summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStas Fomin <stas-fomin@yandex.ru>2023-05-16 10:55:44 +0300
committerGitHub <noreply@github.com>2023-05-16 00:55:44 -0700
commit263bd2ef7daab0e4cda4e95bb801df8933313009 (patch)
treed34bbfa9f3990497fa3cf11104c0ba89e09ab883
parent64e126283849773e1f519cb3ccd8a428a12c9eb4 (diff)
downloadmakeself-263bd2ef7daab0e4cda4e95bb801df8933313009.tar.gz
add description of makeself option «target» (#307)HEADmaster
* add description of option target, see https://github.com/megastep/makeself/issues/306#issuecomment-1547649366 * https://github.com/megastep/makeself/pull/307#issuecomment-1548630300
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 873426d..6984ca0 100644
--- a/README.md
+++ b/README.md
@@ -107,6 +107,7 @@ makeself.sh [args] archive_dir file_name label startup_script [script_args]
* **`--lsm` _file_** : Provide a Linux Software Map (LSM) file to makeself, that will be embedded in the generated archive. LSM files are describing a software package in a way that is easily parseable. The LSM entry can then be later retrieved using the `--lsm` argument to the archive.
* **`--tar-format opt`** : Specify the tar archive format (default is ustar); you may use any value accepted by your tar command (such as posix, v7, etc).
* **`--tar-extra opt`** : Append more options to the tar command line.
+ * **`--target dir`** : Specify the directory where the archive will be extracted.
For instance, in order to exclude the `.git` directory from the packaged archive directory using the GNU `tar`, one can use `makeself.sh --tar-extra "--exclude=.git" ...`