diff options
-rw-r--r-- | etc/README.md | 6 | ||||
-rw-r--r-- | etc/build.usage | 2 | ||||
-rw-r--r-- | subr/build_init.subr | 15 |
3 files changed, 19 insertions, 4 deletions
diff --git a/etc/README.md b/etc/README.md index 943ca642..bfe679de 100644 --- a/etc/README.md +++ b/etc/README.md @@ -456,11 +456,11 @@ package build completion corresponds to the pseudo-build step ``finish``. | build | Call ``make(1)`` w/ build-time set of make variables | | install_subdirs | Create default directory hierarchy in ``${PKG_DESTDIR}``, optionally amended w/ ``${PKG_INSTALL_FILES_DESTDIR_EXTRA}`` | | install_make | Call ``make(1)`` w/ ``${PKG_INSTALL_TARGET}`` (defaults to ``install``) and installation-time set of make variables | -| install_files | Install ``${PKG_INSTALL_FILES}``, ``pkgconf(1)`` package files, and/or stripped binaries within ``${PKG_DESTDIR}`` | +| install_files | Install ``${PKG_INSTALL_FILES}``, fix directory and file mode bits within ``${PKG_DESTDIR}`` and optionally ``${PKG_DESTDIR_HOST}``, ``pkgconf(1)`` package files, and/or stripped binaries within ``${PKG_DESTDIR}`` | | install_libs | Purge libtool ``.la`` files and install shared objects within ``${PKG_DESTDIR}`` w/ ``perk`` and corresponding symbolic links | -| install | Fix directory and file mode bits within ``${PKG_DESTDIR}`` and optionally ``${PKG_DESTDIR_HOST}``, install into ``${PKG_PREFIX}``, and optionally ``${PKG_DESTDIR_HOST}`` into ``${PREFIX}``, under mutex, and add package to ``${PREFIX}/pkglist.${PKG_BUILD_TYPE}`` (unless inhibited) | +| install | Install into ``${PKG_PREFIX}``, and optionally ``${PKG_DESTDIR_HOST}`` into ``${PREFIX}``, under mutex, and add package to ``${PREFIX}/pkglist.${PKG_BUILD_TYPE}`` (unless inhibited) | | install_rpm | Build package RPM w/ auto-generated specifiation file based on ``etc/package.spec`` beneath ``${PREFIX_RPM}`` | -| clean | Clean ``${PKG_BUILD_DIR}`` and/or ``${PKG_DESTDIR}`` and/or ``${PKG_DESTDIR_HOST}`` and/or ``${PKG_BASE_DIR}/${PKG_SUBDIR}`` as per ``-C build,dest,src``, resp., if any | +| clean | Clean ``${PKG_BUILD_DIR}`` and/or ``${PKG_DESTDIR}`` and/or ``${PKG_DESTDIR_HOST}`` and/or ``${PKG_BASE_DIR}/${PKG_SUBDIR}`` as per ``-C build,dest,src``, resp., if any | [Back to top](#table-of-contents) diff --git a/etc/build.usage b/etc/build.usage index 96f094f4..02af6d81 100644 --- a/etc/build.usage +++ b/etc/build.usage @@ -1,7 +1,7 @@ usage: ./build.sh [-a nt32|nt64] [-b debug|release] [-C dir[,..]] [-d] [-D kind[,..]] [-F ipv4|ipv6|offline] [-h] [-p jobs] [-P] [-r ALL|LAST] [-r [*[*[*]]]name[,..][:step,..]] [-R] [-v[v[v[v]]]] [--as-needed] - [--debug-minipix] [--dump-on-abort] + [--debug-minipix] [--dump-on-abort] [--roar] [[=]<group>|<variable name>=<variable override>[ ..]] -a nt32|nt64 Selects 32-bit or 64-bit architecture; defaults to nt64. diff --git a/subr/build_init.subr b/subr/build_init.subr index 2f66a9ff..03063b46 100644 --- a/subr/build_init.subr +++ b/subr/build_init.subr @@ -152,6 +152,21 @@ buildp_init_getopts() { -v*) _opt="${1#-}"; while [ -n "${_opt}" ]; do : $((ARG_VERBOSE+=1)); _opt="${_opt#?}"; done; _shiftfl=1; ;; + # {{{ --roar + --roar) printf "%s\n" ' +[49;37m [41;97m [49;37m [0m +[49;37m [41;97m [49;37m [0m +[103;31m%.[49;37m [41;33m [103;33m/\[41;31m [41;97m [103;33m/\[41;97m [49;97m ROAR![0m +[103;31m`%%.[49;37m [41;33m [41;31m [103;31m [103;33m"""[103;31m [103;30m [41;30m [49;97m /[49;37m [0m +[49;37m [103;31m`%%[49;37m [41;97m [103;97m [103;32mo[103;97m [103;30m_[103;97m [103;32mo[103;97m [41;31m [49;97m /[49;37m [0m +[49;37m [103;30m//[49;37m [103;30m;[41;33m [103;31m [103;33m(__[103;30mY[103;33m__)[103;30m [41;31m [41;97m [49;37m [0m +[103;30m(([49;37m [103;30m/[103;33m [103;97m [41;97m [103;33m`\_/[41;30m [41;97m [49;37m [0m +[49;37m [103;30m\\[49;37m [103;30m.'\'' [103;97m [103;31m [41;31m [49;37m [0m +[49;37m [103;30m\\[49;37m [103;30m/[103;97m [41;97m [49;37m [0m +[49;37m [103;30m\\/ [103;97m [103;30m\[103;97m [103;30m|[103;33m [103;30m|[49;37m [0m +[49;37m [103;30m\[103;33m [103;30m)___|[103;33m [103;30m|[49;37m [0m +[49;37m [103;30m(_____/__)))))))[49;37m [0m'; exit 0; ;; + # }}} *) _shiftfl=0; ;; esac; if [ "${_rc}" -ne 0 ]; then |