diff options
author | Ismael Luceno | 2021-09-27 14:53:55 +0200 |
---|---|---|
committer | Ismael Luceno | 2021-09-27 15:14:53 +0200 |
commit | a998d5b592c0c63484b5ba6e2c80b3ec203c0d2c (patch) | |
tree | 9609f53bbee7fc1d54ec11d5cdde84c573fdd858 /NETSURF_FUNCTIONS | |
parent | cb89a104fef755ceac88cbe67eae81226caf27a3 (diff) |
Introduce NETSURF_FUNCTIONS to simplify NetSurf spells
Diffstat (limited to 'NETSURF_FUNCTIONS')
-rwxr-xr-x | NETSURF_FUNCTIONS | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/NETSURF_FUNCTIONS b/NETSURF_FUNCTIONS new file mode 100755 index 0000000000..fd70a058af --- /dev/null +++ b/NETSURF_FUNCTIONS @@ -0,0 +1,15 @@ +# special functions for projects which use the NetSurf buildsystem + +default_build () { + make -j "$MAKE_NJOBS" \ + PREFIX="${INSTALL_ROOT}/usr" \ + COMPONENT_TYPE=lib-shared \ + $OPTS +} + +default_install () { + make -j "$MAKE_NJOBS" \ + PREFIX="${INSTALL_ROOT}/usr" \ + COMPONENT_TYPE=lib-shared \ + install +} |