view libinterp/dldfcn/config-module.sh @ 20607:db3286201347 stable

doc: Add explanation of ':' optional input to numel(). * data.cc (Fnumel): Add explanation of ':' optional input.
author Rik <rik@octave.org>
date Wed, 07 Oct 2015 14:52:01 -0700
parents 2fc554ffbc28
children
line wrap: on
line source

#! /bin/sh

set -e

: ${AWK=awk}

if [ $# -eq 1 ]; then
  top_srcdir="$1";
else
  top_srcdir="../.."
fi

move_if_change="$top_srcdir/build-aux/move-if-change"

dld_dir=$top_srcdir/libinterp/dldfcn

$AWK -f $dld_dir/config-module.awk < $dld_dir/module-files > $dld_dir/module.mk-t

$move_if_change $dld_dir/module.mk-t $dld_dir/module.mk