From 263bd2ef7daab0e4cda4e95bb801df8933313009 Mon Sep 17 00:00:00 2001 From: Stas Fomin Date: Tue, 16 May 2023 10:55:44 +0300 Subject: =?UTF-8?q?add=20description=20of=20makeself=20option=20=C2=ABtarg?= =?UTF-8?q?et=C2=BB=20(#307)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add description of option target, see https://github.com/megastep/makeself/issues/306#issuecomment-1547649366 * https://github.com/megastep/makeself/pull/307#issuecomment-1548630300 --- README.md | 1 + 1 file changed, 1 insertion(+) 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" ...` -- cgit v1.2.1