summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-05-26 21:12:15 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-05-26 21:12:15 +0100
commit75bb816a000a1b5a6b4fcebecc82f59d785da83a (patch)
tree0f5f185475e6a98dd6364dc371ec4fb8c841eab3
parent8e39bd5d9682d2e7259d9bb5944ecbe1b8a4500d (diff)
downloadmidipix_build-75bb816a000a1b5a6b4fcebecc82f59d785da83a.tar.bz2
midipix_build-75bb816a000a1b5a6b4fcebecc82f59d785da83a.tar.xz
etc/README.md: updated.
-rw-r--r--etc/README.md6
-rw-r--r--etc/build.usage2
-rw-r--r--subr/build_init.subr15
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" '
+   
+   
+%.  /\  /\  ROAR!
+`%%.    """    / 
+ `%%   o _ o   / 
+ // ;  (__Y__)    
+(( /   `\_/   
+ \\ .'\''     
+ \\ /   
+ \\/  \ | | 
+ \ )___| | 
+ (_____/__))))))) '; exit 0; ;;
+ # }}}
*) _shiftfl=0; ;;
esac;
if [ "${_rc}" -ne 0 ]; then