From 1e456ad5580002daff61028c3ba2f87e324a455f Mon Sep 17 00:00:00 2001 From: stas Date: Mon, 15 May 2023 14:07:34 +0300 Subject: [PATCH] add description of option target, see https://github.com/megastep/makeself/issues/306#issuecomment-1547649366 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 873426d..c9258a3 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`** : Allows to extract the archive in an arbitrary place. 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" ...`