Packages

Ceylan-Myriad, a generic-purpose Erlang toolbox, as an OTP application library here (see http://myriad.esperide.org)

Current section

Files

Jump to
myriad priv hex-packaging hex-compile-hook-script.sh
Raw

priv/hex-packaging/hex-compile-hook-script.sh

#!/bin/sh
usage="$(basename $0): a script for the compilation to happen correctly when creating an hex package."
# See the pre_hooks key in rebar-for-hex.config.
echo " Hex compile hook script started: preparing for package..."
ln -s/bin/cp -f priv/hex-packaging/hex-compile-hook-script.sh
# Securing all files needed for a proper build:
for f in priv/hex-packaging/hex-compile-hook-script.sh priv/hex-packaging/root/GNUmake* ; do ln -sf $f ; done
# For its makefiles that are included from the root ones:
ln -sf priv/hex-packaging/doc/
make all && echo " End of hex compile hook script"