Browse Source

move the "license scripts" into the script/ directory outside the trunk itself.

Cédric Augonnet 15 years ago
parent
commit
6b9219984c
4 changed files with 0 additions and 176 deletions
  1. 0 16
      scripts/license/cheader
  2. 0 16
      scripts/license/fheader
  3. 0 128
      scripts/license/putlicense.sh
  4. 0 16
      scripts/license/sheader

+ 0 - 16
scripts/license/cheader

@@ -1,16 +0,0 @@
-/*
- * StarPU
- * Copyright (C) INRIA 2008-2009 (see AUTHORS file)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or (at
- * your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * See the GNU Lesser General Public License in COPYING.LGPL for more details.
- */
-

+ 0 - 16
scripts/license/fheader

@@ -1,16 +0,0 @@
-C
-C StarPU
-C Copyright (C) INRIA 2008-2009 (see AUTHORS file)
-C
-C This program is free software; you can redistribute it and/or modify
-C it under the terms of the GNU Lesser General Public License as published by
-C the Free Software Foundation; either version 2.1 of the License, or (at
-C your option) any later version.
-C
-C This program is distributed in the hope that it will be useful, but
-C WITHOUT ANY WARRANTY; without even the implied warranty of
-C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-C
-C See the GNU Lesser General Public License in COPYING.LGPL for more details.
-C
-

+ 0 - 128
scripts/license/putlicense.sh

@@ -1,128 +0,0 @@
-#!/bin/bash
-
-#
-# StarPU
-# Copyright (C) INRIA 2008-2009 (see AUTHORS file)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at
-# your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# See the GNU Lesser General Public License in COPYING.LGPL for more details.
-#
-
-
-# 
-# # C files and C headers
-# cheader=./scripts/license/cheader
-# cfiles=`find . -name "*.[ch]"`
-# 
-# for filename in $cfiles
-# do
-# 	echo "licensing file $filename"
-# 	
-# 	cp $cheader $filename.tmp
-# 	cat $filename >> $filename.tmp
-# 	mv $filename.tmp $filename
-# done
-# 
-# 
-# # cuda files
-# cheader=./scripts/license/cheader
-# cfiles=`find . -name "*.cu"`
-# 
-# for filename in $cfiles
-# do
-# 	echo "licensing file $filename"
-# 	
-# 	cp $cheader $filename.tmp
-# 	cat $filename >> $filename.tmp
-# 	mv $filename.tmp $filename
-# done
-# 
-# # Script & Makefiles
-# mheader=./scripts/license/sheader
-# mfiles=`find . -name "Makefile" -o -name "Makefile.in"`
-# 
-# for filename in $mfiles
-# do
-# 	echo "licensing file $filename"
-# 	
-# 	cp $mheader $filename.tmp
-# 	cat $filename >> $filename.tmp
-# 	mv $filename.tmp $filename
-# done
-# 
-
-# Script & Makefiles
-# rheader=./scripts/license/sheader
-# rfiles=`find . -name "*.r"`
-# 
-# for filename in $rfiles
-# do
-# 	echo "licensing file $filename"
-# 	
-# 	cp $rheader $filename.tmp
-# 	cat $filename >> $filename.tmp
-# #	mv $filename.tmp $filename
-# done
-# 
-# 
-
-
-# sheader=./scripts/license/sheader
-# sfiles=`find . -name "*.sh"`
-# 
-# for filename in $sfiles
-# do
-# 	echo "licensing file $filename"
-# 
-# 	length=`wc -l $filename | cut -f 1 -d ' '`
-# 	
-# 	head -1 $filename > $filename.tmp
-# 	echo "" >> $filename.tmp
-# 	cat $sheader >> $filename.tmp
-# 	tail -$((length - 1)) $filename >> $filename.tmp
-# 	mv $filename.tmp $filename
-# done
-# 
-# 
-
-sheader=./scripts/license/sheader
-sfiles=`find . -name "*.gp"`
-
-for filename in $sfiles
-do
-	echo "licensing file $filename"
-
-	length=`wc -l $filename | cut -f 1 -d ' '`
-	
-	head -1 $filename > $filename.tmp
-	echo "" >> $filename.tmp
-	cat $sheader >> $filename.tmp
-	tail -$((length - 1)) $filename >> $filename.tmp
-	mv $filename.tmp $filename
-done
-
-
-
-# 
-# 
-# # fortran files
-# fheader=./scripts/license/fheader
-# cfiles=`find . -name "*.F"`
-# 
-# for filename in $cfiles
-# do
-# 	echo "licensing file $filename"
-# 	
-# 	cp $fheader $filename.tmp
-# 	cat $filename >> $filename.tmp
-# 	mv $filename.tmp $filename
-# done
-# 

+ 0 - 16
scripts/license/sheader

@@ -1,16 +0,0 @@
-#
-# StarPU
-# Copyright (C) INRIA 2008-2009 (see AUTHORS file)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at
-# your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# See the GNU Lesser General Public License in COPYING.LGPL for more details.
-#
-