Skip to content
Snippets Groups Projects
Select Git revision
  • lalxml-votable
  • master default protected
  • einstein_S6LV1_1.17
  • einstein_S6LV1_1.16
  • einstein_S6LV1_1.15
  • einstein_S6LV1_1.14
  • einstein_S6LV1_1.13
  • einstein_S6LV1_1.12
  • einstein_S6LV1_1.11
  • einstein_S6LV1_1.10
  • CFSv2_stat_indp
  • s6_chia_20120122
  • gracedb-1.1-1
  • gracedb-1.0-4
  • s6_chia_20111230
  • lars-1.1.0
  • ligo-common-1.0.1
  • lars-1.0-3
  • lvalert-1.0-3
  • gracedb-1.0-3
  • lvalert-1.0-1
  • ligo-common-1.0-1
22 results

configure.ac

Blame
    • Jolien Creighton's avatar
      ae2e5c98
      top-level lalsuite configure functionality · ae2e5c98
      Jolien Creighton authored
      Adds functionality so that you can configure both lal and lalapps from a
      top level configure script.  There is a 00boot that calls lal/00boot
      and lalapps/00boot and then there is a top level configure which will
      configure both lal and lalapps.  The top level Makefile then makes both
      lal and lalapps so that they can be installed together.  The lalapps
      configure script is significantly modified to allow this.
      ae2e5c98
      History
      top-level lalsuite configure functionality
      Jolien Creighton authored
      Adds functionality so that you can configure both lal and lalapps from a
      top level configure script.  There is a 00boot that calls lal/00boot
      and lalapps/00boot and then there is a top level configure which will
      configure both lal and lalapps.  The top level Makefile then makes both
      lal and lalapps so that they can be installed together.  The lalapps
      configure script is significantly modified to allow this.
    FT_delete_file.m 992 B
    %---------------------------------------------------------------------  
    % function []=FT_delete_file(filename)
    % 
    % deletes a file, USE CAREFULLY!
    %
    % filename: string, contains the name of the file
    %
    % Part of the SimTools package
    % Andreas Freise 16.06.08 afreise@googlemail.com
    %---------------------------------------------------------------------  
    
    function []=FT_delete_file(filename)
      
      baseid='FT_delete_file';
    
      if (~isstr(filename))
        msgid=[baseid,':checkinarg'];
        result='input argument must be a filename';
        error(msgid,result);
      end
      
      % check whether name contains / or \ so its
      % filename including the path
      
      ispath=0;
      if (strfind(filename,'\'))
        ispath=1;
      end
      
      if (strfind(filename,'/'))
        ispath=1;
      end
      
      if (ispath==0)
        filename=['./',filename];
      end
      
      if (exist(filename))
        disp(sprintf('deleting %s',filename));
        delete(filename);
      else
        disp(sprintf('cannot delete %s, file does not exist',filename));
      end