diff options
author | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2023-03-13 07:26:01 +0100 |
---|---|---|
committer | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2023-03-13 07:26:01 +0100 |
commit | afd0865cfdd383b4952b6bbab725638292fe7c78 (patch) | |
tree | 9138b42effb2f6b078a4f8d766c196dca84a2b4c /etc | |
parent | d2b11bf551a4dab438e4cdf2327286a37361290b (diff) | |
download | midipix_build-afd0865cfdd383b4952b6bbab725638292fe7c78.tar.bz2 midipix_build-afd0865cfdd383b4952b6bbab725638292fe7c78.tar.xz |
pkgtool.sh: optionally source ${HOME}/pkgtool.vars to provide defaults for -a, -b, -m, -M.
etc/pkgtool.usage: updated.
etc/README.md: updated.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/README.md | 9 | ||||
-rw-r--r-- | etc/pkgtool.usage | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/etc/README.md b/etc/README.md index 63411a6f..95ad13e5 100644 --- a/etc/README.md +++ b/etc/README.md @@ -909,6 +909,8 @@ usage: ./pkgtool.sh [-a nt32|nt64] [-b debug|release] [-i|-m <dname> -M <dname>| -i List package variables and dependencies of single named package.
-m <dname> Setup package archives mirror in <dname> and/or
-M <dname> Setup Git repositories mirror in <dname>
+ Specify "" or '' as <dname> to default to the defaults in
+ ${HOME}/pkgtool.vars, if present.
-r List reverse dependencies of single named package.
-R List full reverse dependencies of single named package.
-t Produce tarball of package build root directory and build log
@@ -921,7 +923,12 @@ usage: ./pkgtool.sh [-a nt32|nt64] [-b debug|release] [-i|-m <dname> -M <dname>| > N.B. When using ``pkgtool.sh`` on a build w/ build variables (see section [4.2](#42-build-variables))
overriden on the command line or via the environment, ensure that they are included in the
-``pkgtool.sh`` command line, preceding the package name, or exported, respectively.
+``pkgtool.sh`` command line, preceding the package name, or exported, respectively.
+
+> N.B. ``pkgtool.sh`` will source the ``${HOME}/pkgtool.vars`` file, if present, on startup where the
+following option arguments may be set: ``-a nt32|nt64`` by setting ``ARCH=...``, ``-b debug|release``
+by setting ``BUILD_KIND=...``, ``-m <dname>`` by setting ``ARG_MIRROR_DNAME=...``, and ``-M <dname>``
+by setting ``ARG_MIRROR_DNAME_GIT=...``.
[Back to top](#table-of-contents)
diff --git a/etc/pkgtool.usage b/etc/pkgtool.usage index 6c86e86d..446ac3a3 100644 --- a/etc/pkgtool.usage +++ b/etc/pkgtool.usage @@ -6,6 +6,8 @@ [33m-[93mi [96mList package variables and dependencies of single named package.[0m [33m-[93mm [90m<[93mdname[90m> [96mSetup package archives mirror in [90m<[93mdname[90m>[96m and/or[0m [33m-[93mM [90m<[93mdname[90m> [96mSetup Git repositories mirror in [90m<[93mdname[90m>[0m + [96mSpecify "" or '' as <dname> to default to the defaults in[0m + [93m${HOME}/pkgtool.vars[96m, if present.[0m [33m-[93mr [96mList reverse dependencies of single named package.[0m [33m-[93mR [96mList recursive reverse dependencies of single named package.[0m [33m-[93mt [96mProduce tarball of package build root directory and build log[0m |