-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathautomiriad.sh.in
More file actions
executable file
·61 lines (47 loc) · 1.38 KB
/
automiriad.sh.in
File metadata and controls
executable file
·61 lines (47 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# -*- shell-script -*-
# Script to set up a Bourne shell environment to use a
# Miriad installation created with the autotools build
# system. A separate script is necessary because the
# directory structure of an autotoolized Miriad install
# is fairly different from that of a binary tree
# built with the classic build system.
#
# For comments on the definitions in this file, see
# automiriad.csh.
# Get the pgplot definitions.
. "%libdir%/pgplot-miriad-remix/pgplot-config.sh"
# Constants
export AIPSTV="XASIN"
export MIRPAGER="doc"
export MIRDEF=.
# Things that come directly from the source tree
export MIR="%abs_srcdir%"
export MIRNEWS="$MIR/news"
export MIRPROG="$MIR/src/prog"
export MIRSRC="$MIR/src"
export MIRSUBS="$MIR/src/subs"
# Things that are built by the build system. MIRINC must
# go here because of the maxdim headers.
export MIRBIN="%bindir%"
export MIRLIB="%libdir%"
export MIRCAT="%catdir%"
export MIRINC="%fincludedir%"
export MIRDOC="%pkgdatadir%/doc"
export MIRPDOC="$MIRDOC/prog"
export MIRSDOC="$MIRDOC/subs"
# Misc.
export PATH="$MIRBIN:$PATH"
alias mirfind=mir.find
alias mirhelp=mir.help
alias mirindex=mir.index
alias mirbug='mir.bug.csh bug'
alias mirfeedback='mir.bug.csh feedback'
# Customizations.
if [ -f "$MIR/MIRSRC.local" ]; then
. "$MIR/MIRSRC.local"
fi
if ! test -z $HOME ; then
if [ -f "$HOME/.mirsrc" ] ; then
. "$HOME/.mirsrc"
fi
fi