~ubuntu-branches/ubuntu/vivid/gyoto/vivid

« back to all changes in this revision

Viewing changes to yorick/setpaths.i.in

  • Committer: Package Import Robot
  • Author(s): Thibaut Paumard
  • Date: 2014-10-21 14:21:10 UTC
  • mfrom: (8.2.4 sid)
  • Revision ID: package-import@ubuntu.com-20141021142110-1u2odjj2r0hvdh5g
Tags: 0.2.3-1
* New upstream release
* Move to debian-astro team

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Copyright 2014 Thibaut Paumard
 
3
 
 
4
    This file is part of Gyoto.
 
5
 
 
6
    Gyoto is free software: you can redistribute it and/or modify
 
7
    it under the terms of the GNU General Public License as published by
 
8
    the Free Software Foundation, either version 3 of the License, or
 
9
    (at your option) any later version.
 
10
 
 
11
    Gyoto is distributed in the hope that it will be useful,
 
12
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
    GNU General Public License for more details.
 
15
 
 
16
    You should have received a copy of the GNU General Public License
 
17
    along with Gyoto.  If not, see <http://www.gnu.org/licenses/>.
 
18
 */
 
19
 
 
20
/*
 
21
  The purpose of this file is to set Yorick paths to access the gyoto
 
22
  plug-in from the built source tree. This file (setpaths.i) and its
 
23
  source (setpaths.i.in) are not supposed to be installed on the
 
24
  system.
 
25
 */
 
26
 
 
27
abs_top_builddir="@abs_top_builddir@";
 
28
 
 
29
#include "pathfun.i"
 
30
dirs=abs_top_builddir+"/yorick/"+["", "stdplug/"];
 
31
plug_dir,_(dirs, plug_dir());
 
32
set_path, pathform(dirs)+":"+get_path();