annotate doc/interpreter/config-images.sh @ 26376:00f796120a6d stable

maint: Update copyright dates in all source files.
author John W. Eaton <jwe@octave.org>
date Wed, 02 Jan 2019 16:32:43 -0500
parents 6652d3823428
children b442ec6dda5c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 #! /bin/sh
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2
26376
00f796120a6d maint: Update copyright dates in all source files.
John W. Eaton <jwe@octave.org>
parents: 25054
diff changeset
3 ## Copyright (C) 2009-2019 John W. Eaton
22799
592fa741e0aa add missing copyright notices (bug #49624)
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
4 ##
592fa741e0aa add missing copyright notices (bug #49624)
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
5 ## This file is part of Octave.
592fa741e0aa add missing copyright notices (bug #49624)
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
6 ##
24534
194eb4bd202b maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents: 23221
diff changeset
7 ## Octave is free software: you can redistribute it and/or modify it
22799
592fa741e0aa add missing copyright notices (bug #49624)
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
8 ## under the terms of the GNU General Public License as published by
24534
194eb4bd202b maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents: 23221
diff changeset
9 ## the Free Software Foundation, either version 3 of the License, or
22799
592fa741e0aa add missing copyright notices (bug #49624)
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
10 ## (at your option) any later version.
592fa741e0aa add missing copyright notices (bug #49624)
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
11 ##
592fa741e0aa add missing copyright notices (bug #49624)
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
12 ## Octave is distributed in the hope that it will be useful, but
592fa741e0aa add missing copyright notices (bug #49624)
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
13 ## WITHOUT ANY WARRANTY; without even the implied warranty of
592fa741e0aa add missing copyright notices (bug #49624)
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
592fa741e0aa add missing copyright notices (bug #49624)
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
15 ## GNU General Public License for more details.
592fa741e0aa add missing copyright notices (bug #49624)
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
16 ##
592fa741e0aa add missing copyright notices (bug #49624)
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
17 ## You should have received a copy of the GNU General Public License
592fa741e0aa add missing copyright notices (bug #49624)
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
18 ## along with Octave; see the file COPYING. If not, see
24534
194eb4bd202b maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents: 23221
diff changeset
19 ## <https://www.gnu.org/licenses/>.
22799
592fa741e0aa add missing copyright notices (bug #49624)
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
20
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 set -e
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22
21277
1bca6c72d2b1 maint: Use consistent coding style for build helper shell scripts
Mike Miller <mtmiller@octave.org>
parents: 20307
diff changeset
23 AWK=${AWK:-awk}
21281
b76955e83fe4 maint: Run all build shell scripts with SHELL as command interpreter
Mike Miller <mtmiller@octave.org>
parents: 21277
diff changeset
24 SHELL=${SHELL:-/bin/sh}
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25
10874
62ed71623aca Add documentation Makefile dependency on images.mk
Rik <octave@nomad.inbox5.com>
parents: 9794
diff changeset
26 if [ $# -eq 1 ]; then
21277
1bca6c72d2b1 maint: Use consistent coding style for build helper shell scripts
Mike Miller <mtmiller@octave.org>
parents: 20307
diff changeset
27 top_srcdir="$1"
10874
62ed71623aca Add documentation Makefile dependency on images.mk
Rik <octave@nomad.inbox5.com>
parents: 9794
diff changeset
28 else
62ed71623aca Add documentation Makefile dependency on images.mk
Rik <octave@nomad.inbox5.com>
parents: 9794
diff changeset
29 top_srcdir="../.."
62ed71623aca Add documentation Makefile dependency on images.mk
Rik <octave@nomad.inbox5.com>
parents: 9794
diff changeset
30 fi
62ed71623aca Add documentation Makefile dependency on images.mk
Rik <octave@nomad.inbox5.com>
parents: 9794
diff changeset
31
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 10874
diff changeset
32 move_if_change="$top_srcdir/build-aux/move-if-change"
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 10874
diff changeset
33
10874
62ed71623aca Add documentation Makefile dependency on images.mk
Rik <octave@nomad.inbox5.com>
parents: 9794
diff changeset
34 interp_dir=$top_srcdir/doc/interpreter
62ed71623aca Add documentation Makefile dependency on images.mk
Rik <octave@nomad.inbox5.com>
parents: 9794
diff changeset
35
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
36 $AWK -v dir=doc/interpreter -f $interp_dir/images.awk < $interp_dir/images > $interp_dir/images.mk-t
10874
62ed71623aca Add documentation Makefile dependency on images.mk
Rik <octave@nomad.inbox5.com>
parents: 9794
diff changeset
37
21281
b76955e83fe4 maint: Run all build shell scripts with SHELL as command interpreter
Mike Miller <mtmiller@octave.org>
parents: 21277
diff changeset
38 $SHELL $move_if_change $interp_dir/images.mk-t $interp_dir/images.mk