File: mkmodulesdir

package info (click to toggle)
geomview 1.9.5-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,096 kB
  • sloc: ansic: 93,696; sh: 12,051; cpp: 1,215; makefile: 1,075; objc: 263; perl: 153; yacc: 152; tcl: 76; lex: 74
file content (29 lines) | stat: -rwxr-xr-x 870 bytes parent folder | download | duplicates (13)
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
#! /bin/sh

# usage: mkmodulesdir ROOT
#   where ROOT is the pathname (can be relative) of the geomview source tree

MODULES="$1/modules"

if test -d $MODULES ; then
  :
else
  mkdir $MODULES
fi

  cat > $MODULES/README <<EOF
This directory holds (or will hold) a collection of .geomview-* files
which tell geomview where to find external modules.  The Makefile for
each module puts its corresponding .geomview-* file into this directory
after successfully building the module.

If this directory is empty (other than for this README file), it just
means that you haven't (successfully) compiled any of Geomview's
modules.

This directory is only used for running geomview locally in the build
tree.  If you do 'make install', the modules get installed into
/usr/local/Geomview/bin and Geomview is configured to look for them
there, rather than in the source tree.

EOF