view build-aux/subst-f77-isnan-macro.in.sh @ 21653:09c086133228

simplify rules for building DOCSTRING files (bug #47745) * libinterp/module.mk, scripts/module.mk: Don't create separate .DOCSTRINGS file. Create DOCSTRINGS files in $(srcdir). Use move-if-change to avoid rebuilding docs in tarball distribution.
author John W. Eaton <jwe@octave.org>
date Thu, 28 Apr 2016 16:44:38 -0400
parents 1aa293d58df0
children 3a2b891d0b33 3ac9f9ecfae5
line wrap: on
line source

#! /bin/sh
#
# Copyright (C) 2016 John W. Eaton
#
# This file is part of Octave.
#
# Octave is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# Octave is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with Octave; see the file COPYING.  If not, see
# <http://www.gnu.org/licenses/>.

: ${SED=@SED@}

F77_ISNAN_MACRO="@F77_ISNAN_MACRO@"

$SED -e "${F77_ISNAN_MACRO}"