From 2073dcf9d7b8eafc1109068be11a6cc4d700fcf1 Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@Germany>
Date: Wed, 3 Mar 2010 09:19:23 +0100
Subject: [PATCH] STYLE: move source templates from bin/templates/ to
 etc/codeTemplates/

---
 bin/doxyFilt                                                | 2 +-
 bin/foamAllHC                                               | 2 +-
 bin/foamCheckJobs                                           | 2 +-
 bin/foamCleanTutorials                                      | 2 +-
 bin/foamCopySettings                                        | 2 +-
 bin/foamDistccd                                             | 2 +-
 bin/foamEbrowse                                             | 2 +-
 bin/foamEndJob                                              | 2 +-
 bin/foamGraphExecTime                                       | 2 +-
 bin/foamGraphResKE                                          | 2 +-
 bin/foamGraphResUVWP                                        | 2 +-
 bin/foamInstallationTest                                    | 2 +-
 bin/foamLog                                                 | 2 +-
 bin/foamNew                                                 | 6 +++---
 bin/foamNewSource                                           | 2 +-
 bin/foamNewTemplate                                         | 2 +-
 bin/foamPack                                                | 2 +-
 bin/foamPackBin                                             | 2 +-
 bin/foamPackBinAll                                          | 2 +-
 bin/foamPackDoxygen                                         | 2 +-
 bin/foamPackGeneral                                         | 2 +-
 bin/foamPackSource                                          | 2 +-
 bin/foamPackThirdPartyBin                                   | 2 +-
 bin/foamPackThirdPartyGeneral                               | 2 +-
 bin/foamPrintJobs                                           | 2 +-
 bin/foamProcessInfo                                         | 2 +-
 bin/foamRunTutorials                                        | 2 +-
 bin/foamSolverSweeps                                        | 2 +-
 bin/foamSystemCheck                                         | 2 +-
 bin/foamTags                                                | 2 +-
 bin/mpirunDebug                                             | 2 +-
 bin/rmclassall                                              | 2 +-
 bin/rmcore                                                  | 2 +-
 bin/rmdepold                                                | 2 +-
 bin/rmoall                                                  | 2 +-
 bin/rm~all                                                  | 2 +-
 bin/tools/CleanFunctions                                    | 2 +-
 bin/tools/RunFunctions                                      | 2 +-
 bin/tools/doxyFilt-ignore.awk                               | 2 +-
 bin/tools/doxyFilt-top.awk                                  | 2 +-
 bin/tools/doxyFilt.awk                                      | 2 +-
 bin/tools/gtagsrc                                           | 2 +-
 bin/touchapp                                                | 2 +-
 bin/touchdep                                                | 2 +-
 bin/touchlib                                                | 2 +-
 bin/toucho                                                  | 2 +-
 {bin/templates => etc/codeTemplates}/foamCommentStyles      | 0
 {bin/templates => etc/codeTemplates}/foamScript             | 0
 {bin/templates => etc/codeTemplates}/source/_Template.C     | 0
 {bin/templates => etc/codeTemplates}/source/_Template.H     | 0
 {bin/templates => etc/codeTemplates}/source/_TemplateApp.C  | 0
 {bin/templates => etc/codeTemplates}/source/_TemplateI.H    | 0
 {bin/templates => etc/codeTemplates}/source/_TemplateIO.C   | 0
 {bin/templates => etc/codeTemplates}/source/foamNewSource   | 4 ++--
 .../codeTemplates/template}/_TemplateTemplate.C             | 0
 .../codeTemplates/template}/_TemplateTemplate.H             | 0
 .../codeTemplates/template}/_TemplateTemplateI.H            | 0
 .../codeTemplates/template}/_TemplateTemplateIO.C           | 0
 .../codeTemplates/template}/foamNewTemplate                 | 6 +++---
 59 files changed, 53 insertions(+), 53 deletions(-)
 rename {bin/templates => etc/codeTemplates}/foamCommentStyles (100%)
 rename {bin/templates => etc/codeTemplates}/foamScript (100%)
 rename {bin/templates => etc/codeTemplates}/source/_Template.C (100%)
 rename {bin/templates => etc/codeTemplates}/source/_Template.H (100%)
 rename {bin/templates => etc/codeTemplates}/source/_TemplateApp.C (100%)
 rename {bin/templates => etc/codeTemplates}/source/_TemplateI.H (100%)
 rename {bin/templates => etc/codeTemplates}/source/_TemplateIO.C (100%)
 rename {bin/templates => etc/codeTemplates}/source/foamNewSource (96%)
 rename {bin/templates/sourceTemplate => etc/codeTemplates/template}/_TemplateTemplate.C (100%)
 rename {bin/templates/sourceTemplate => etc/codeTemplates/template}/_TemplateTemplate.H (100%)
 rename {bin/templates/sourceTemplate => etc/codeTemplates/template}/_TemplateTemplateI.H (100%)
 rename {bin/templates/sourceTemplate => etc/codeTemplates/template}/_TemplateTemplateIO.C (100%)
 rename {bin/templates/sourceTemplate => etc/codeTemplates/template}/foamNewTemplate (92%)

diff --git a/bin/doxyFilt b/bin/doxyFilt
index 40d4fadd11b..7bbb5a4ba80 100755
--- a/bin/doxyFilt
+++ b/bin/doxyFilt
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamAllHC b/bin/foamAllHC
index 3d68b5467b9..bf90df16bdc 100755
--- a/bin/foamAllHC
+++ b/bin/foamAllHC
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamCheckJobs b/bin/foamCheckJobs
index 8812c964669..c26befc4c03 100755
--- a/bin/foamCheckJobs
+++ b/bin/foamCheckJobs
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamCleanTutorials b/bin/foamCleanTutorials
index ccc9f320b03..1e022460c1d 100755
--- a/bin/foamCleanTutorials
+++ b/bin/foamCleanTutorials
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #------------------------------------------------------------------------------
 # License
diff --git a/bin/foamCopySettings b/bin/foamCopySettings
index 1a41a3a59f2..9c22cb13d34 100755
--- a/bin/foamCopySettings
+++ b/bin/foamCopySettings
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 2008-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 2008-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamDistccd b/bin/foamDistccd
index 2a450a2b171..38bfd05c3c9 100755
--- a/bin/foamDistccd
+++ b/bin/foamDistccd
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamEbrowse b/bin/foamEbrowse
index 365d0fa6059..b6213761509 100755
--- a/bin/foamEbrowse
+++ b/bin/foamEbrowse
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamEndJob b/bin/foamEndJob
index 1964d86100c..f82f7409ce9 100755
--- a/bin/foamEndJob
+++ b/bin/foamEndJob
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamGraphExecTime b/bin/foamGraphExecTime
index 3dc2fa2c70b..82671151ac3 100755
--- a/bin/foamGraphExecTime
+++ b/bin/foamGraphExecTime
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamGraphResKE b/bin/foamGraphResKE
index d00798f507f..22254fc2438 100755
--- a/bin/foamGraphResKE
+++ b/bin/foamGraphResKE
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamGraphResUVWP b/bin/foamGraphResUVWP
index 1b34258fcf2..3d9433e17e0 100755
--- a/bin/foamGraphResUVWP
+++ b/bin/foamGraphResUVWP
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamInstallationTest b/bin/foamInstallationTest
index eacda19ccea..708c6384102 100755
--- a/bin/foamInstallationTest
+++ b/bin/foamInstallationTest
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamLog b/bin/foamLog
index 06b2a2c5dc3..d33d8e317f7 100755
--- a/bin/foamLog
+++ b/bin/foamLog
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamNew b/bin/foamNew
index fde1aa1979a..a1d66f225ec 100755
--- a/bin/foamNew
+++ b/bin/foamNew
@@ -27,7 +27,7 @@
 #     foamNew
 #
 # Description
-#     Create a new standard OpenFOAM source file
+#     Create a new standard OpenFOAM source or template file
 #
 #------------------------------------------------------------------------------
 usage() {
@@ -50,11 +50,11 @@ USAGE
 case "$1" in
 source)
     shift
-    $WM_PROJECT_DIR/bin/templates/source/foamNewSource $*
+    $WM_PROJECT_DIR/etc/codeTemplates/source/foamNewSource $*
     ;;
 template)
     shift
-    $WM_PROJECT_DIR/bin/templates/sourceTemplate/foamNewTemplate $*
+    $WM_PROJECT_DIR/etc/codeTemplates/template/foamNewTemplate $*
     ;;
 *)
     usage "unknown type"
diff --git a/bin/foamNewSource b/bin/foamNewSource
index 1195efa3f39..f0c46dbdcb9 120000
--- a/bin/foamNewSource
+++ b/bin/foamNewSource
@@ -1 +1 @@
-templates/source/foamNewSource
\ No newline at end of file
+../etc/codeTemplates/source/foamNewSource
\ No newline at end of file
diff --git a/bin/foamNewTemplate b/bin/foamNewTemplate
index daefeb49292..1dabe112040 120000
--- a/bin/foamNewTemplate
+++ b/bin/foamNewTemplate
@@ -1 +1 @@
-templates/sourceTemplate/foamNewTemplate
\ No newline at end of file
+../etc/codeTemplates/template/foamNewTemplate
\ No newline at end of file
diff --git a/bin/foamPack b/bin/foamPack
index a719f9e23e1..26b356b9492 100755
--- a/bin/foamPack
+++ b/bin/foamPack
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamPackBin b/bin/foamPackBin
index 00d60ba5f04..5d8e4a0f245 100755
--- a/bin/foamPackBin
+++ b/bin/foamPackBin
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamPackBinAll b/bin/foamPackBinAll
index 57673e98036..196d91d0f9b 100755
--- a/bin/foamPackBinAll
+++ b/bin/foamPackBinAll
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamPackDoxygen b/bin/foamPackDoxygen
index 4503470846a..9da368b36fa 100755
--- a/bin/foamPackDoxygen
+++ b/bin/foamPackDoxygen
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamPackGeneral b/bin/foamPackGeneral
index e55d834bce3..8aa109c15e9 100755
--- a/bin/foamPackGeneral
+++ b/bin/foamPackGeneral
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamPackSource b/bin/foamPackSource
index dbb1860bca4..6b474f4e7c6 100755
--- a/bin/foamPackSource
+++ b/bin/foamPackSource
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamPackThirdPartyBin b/bin/foamPackThirdPartyBin
index b9363f68740..12271682e5d 100755
--- a/bin/foamPackThirdPartyBin
+++ b/bin/foamPackThirdPartyBin
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamPackThirdPartyGeneral b/bin/foamPackThirdPartyGeneral
index a690f7f4481..fdc54272f74 100755
--- a/bin/foamPackThirdPartyGeneral
+++ b/bin/foamPackThirdPartyGeneral
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamPrintJobs b/bin/foamPrintJobs
index a2851f29029..57d6ebd5d94 100755
--- a/bin/foamPrintJobs
+++ b/bin/foamPrintJobs
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamProcessInfo b/bin/foamProcessInfo
index dc8a9e650ce..7a3577c275d 100755
--- a/bin/foamProcessInfo
+++ b/bin/foamProcessInfo
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamRunTutorials b/bin/foamRunTutorials
index 210b1bcc606..7c52b6b9e17 100755
--- a/bin/foamRunTutorials
+++ b/bin/foamRunTutorials
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #------------------------------------------------------------------------------
 # License
diff --git a/bin/foamSolverSweeps b/bin/foamSolverSweeps
index 61f34279c44..29df1dabe45 100755
--- a/bin/foamSolverSweeps
+++ b/bin/foamSolverSweeps
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamSystemCheck b/bin/foamSystemCheck
index 63f0f51e16f..0d739d64fae 100755
--- a/bin/foamSystemCheck
+++ b/bin/foamSystemCheck
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/foamTags b/bin/foamTags
index 9c173497f60..18ad697768d 100755
--- a/bin/foamTags
+++ b/bin/foamTags
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/mpirunDebug b/bin/mpirunDebug
index a62aa938765..6869e64e30a 100755
--- a/bin/mpirunDebug
+++ b/bin/mpirunDebug
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/rmclassall b/bin/rmclassall
index c4fcc786a79..3edbd1e1b04 100755
--- a/bin/rmclassall
+++ b/bin/rmclassall
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/rmcore b/bin/rmcore
index 1ec818057d0..24e630dac4f 100755
--- a/bin/rmcore
+++ b/bin/rmcore
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/rmdepold b/bin/rmdepold
index c633ce04c3d..d0aceceae27 100755
--- a/bin/rmdepold
+++ b/bin/rmdepold
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/rmoall b/bin/rmoall
index 0cc46f4a948..3221d680cfe 100755
--- a/bin/rmoall
+++ b/bin/rmoall
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/rm~all b/bin/rm~all
index df03c3af58b..afc658b76ba 100755
--- a/bin/rm~all
+++ b/bin/rm~all
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/tools/CleanFunctions b/bin/tools/CleanFunctions
index 5e0ea64c5ed..d1a29b464c6 100644
--- a/bin/tools/CleanFunctions
+++ b/bin/tools/CleanFunctions
@@ -2,7 +2,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #------------------------------------------------------------------------------
 # License
diff --git a/bin/tools/RunFunctions b/bin/tools/RunFunctions
index e2c335b05b1..9e5f412fe23 100644
--- a/bin/tools/RunFunctions
+++ b/bin/tools/RunFunctions
@@ -2,7 +2,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #------------------------------------------------------------------------------
 # License
diff --git a/bin/tools/doxyFilt-ignore.awk b/bin/tools/doxyFilt-ignore.awk
index eda0dc71607..50de7e67425 100644
--- a/bin/tools/doxyFilt-ignore.awk
+++ b/bin/tools/doxyFilt-ignore.awk
@@ -2,7 +2,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 # -----------------------------------------------------------------------------
 # License
diff --git a/bin/tools/doxyFilt-top.awk b/bin/tools/doxyFilt-top.awk
index 06a5d2ac85d..9cb87afd708 100644
--- a/bin/tools/doxyFilt-top.awk
+++ b/bin/tools/doxyFilt-top.awk
@@ -2,7 +2,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #------------------------------------------------------------------------------
 # License
diff --git a/bin/tools/doxyFilt.awk b/bin/tools/doxyFilt.awk
index a7751f9fb94..8562ee08bd1 100644
--- a/bin/tools/doxyFilt.awk
+++ b/bin/tools/doxyFilt.awk
@@ -2,7 +2,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 # -----------------------------------------------------------------------------
 # License
diff --git a/bin/tools/gtagsrc b/bin/tools/gtagsrc
index ce66e0c084a..a5564c6ffdc 100644
--- a/bin/tools/gtagsrc
+++ b/bin/tools/gtagsrc
@@ -2,7 +2,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/touchapp b/bin/touchapp
index a7533575665..79ff05885e7 100755
--- a/bin/touchapp
+++ b/bin/touchapp
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/touchdep b/bin/touchdep
index 56afff2456b..9db4c9f0158 100755
--- a/bin/touchdep
+++ b/bin/touchdep
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/touchlib b/bin/touchlib
index 589084d2f1e..c98f9afbb0f 100755
--- a/bin/touchlib
+++ b/bin/touchlib
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/toucho b/bin/toucho
index 82ef064ac30..feeb4b0cb8d 100755
--- a/bin/toucho
+++ b/bin/toucho
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
+#   \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
diff --git a/bin/templates/foamCommentStyles b/etc/codeTemplates/foamCommentStyles
similarity index 100%
rename from bin/templates/foamCommentStyles
rename to etc/codeTemplates/foamCommentStyles
diff --git a/bin/templates/foamScript b/etc/codeTemplates/foamScript
similarity index 100%
rename from bin/templates/foamScript
rename to etc/codeTemplates/foamScript
diff --git a/bin/templates/source/_Template.C b/etc/codeTemplates/source/_Template.C
similarity index 100%
rename from bin/templates/source/_Template.C
rename to etc/codeTemplates/source/_Template.C
diff --git a/bin/templates/source/_Template.H b/etc/codeTemplates/source/_Template.H
similarity index 100%
rename from bin/templates/source/_Template.H
rename to etc/codeTemplates/source/_Template.H
diff --git a/bin/templates/source/_TemplateApp.C b/etc/codeTemplates/source/_TemplateApp.C
similarity index 100%
rename from bin/templates/source/_TemplateApp.C
rename to etc/codeTemplates/source/_TemplateApp.C
diff --git a/bin/templates/source/_TemplateI.H b/etc/codeTemplates/source/_TemplateI.H
similarity index 100%
rename from bin/templates/source/_TemplateI.H
rename to etc/codeTemplates/source/_TemplateI.H
diff --git a/bin/templates/source/_TemplateIO.C b/etc/codeTemplates/source/_TemplateIO.C
similarity index 100%
rename from bin/templates/source/_TemplateIO.C
rename to etc/codeTemplates/source/_TemplateIO.C
diff --git a/bin/templates/source/foamNewSource b/etc/codeTemplates/source/foamNewSource
similarity index 96%
rename from bin/templates/source/foamNewSource
rename to etc/codeTemplates/source/foamNewSource
index 8924b094482..ee6483e4e72 100755
--- a/bin/templates/source/foamNewSource
+++ b/etc/codeTemplates/source/foamNewSource
@@ -31,12 +31,12 @@
 #
 #------------------------------------------------------------------------------
 Script=${0##*/}
-Template="$WM_PROJECT_DIR/bin/templates/source/_Template"
+Template="$WM_PROJECT_DIR/etc/codeTemplates/source/_Template"
 
 usage() {
     while [ "$#" -ge 1 ]; do echo "$1"; shift; done
     cat<<USAGE
-Usage: $Script <type> <class name>
+Usage: $Script <type> <ClassName>
 
 * create a new standard OpenFOAM source file
 
diff --git a/bin/templates/sourceTemplate/_TemplateTemplate.C b/etc/codeTemplates/template/_TemplateTemplate.C
similarity index 100%
rename from bin/templates/sourceTemplate/_TemplateTemplate.C
rename to etc/codeTemplates/template/_TemplateTemplate.C
diff --git a/bin/templates/sourceTemplate/_TemplateTemplate.H b/etc/codeTemplates/template/_TemplateTemplate.H
similarity index 100%
rename from bin/templates/sourceTemplate/_TemplateTemplate.H
rename to etc/codeTemplates/template/_TemplateTemplate.H
diff --git a/bin/templates/sourceTemplate/_TemplateTemplateI.H b/etc/codeTemplates/template/_TemplateTemplateI.H
similarity index 100%
rename from bin/templates/sourceTemplate/_TemplateTemplateI.H
rename to etc/codeTemplates/template/_TemplateTemplateI.H
diff --git a/bin/templates/sourceTemplate/_TemplateTemplateIO.C b/etc/codeTemplates/template/_TemplateTemplateIO.C
similarity index 100%
rename from bin/templates/sourceTemplate/_TemplateTemplateIO.C
rename to etc/codeTemplates/template/_TemplateTemplateIO.C
diff --git a/bin/templates/sourceTemplate/foamNewTemplate b/etc/codeTemplates/template/foamNewTemplate
similarity index 92%
rename from bin/templates/sourceTemplate/foamNewTemplate
rename to etc/codeTemplates/template/foamNewTemplate
index 8045a5cac67..446bc6df65f 100755
--- a/bin/templates/sourceTemplate/foamNewTemplate
+++ b/etc/codeTemplates/template/foamNewTemplate
@@ -31,15 +31,15 @@
 #
 #------------------------------------------------------------------------------
 Script=${0##*/}
-Template="$WM_PROJECT_DIR/bin/templates/sourceTemplate/_TemplateTemplate"
+Template="$WM_PROJECT_DIR/etc/codeTemplates/template/_TemplateTemplate"
 
 usage() {
     while [ "$#" -ge 1 ]; do echo "$1"; shift; done
     cat<<USAGE
 
-Usage: $Script <type> <Class name> <Template arguments...>
+Usage: $Script <type> <ClassName> <Template arguments...>
 
-* create a new standard OpenFOAM source file
+* create a new standard OpenFOAM source file for templated classes
 
 type: (C|H|I|IO)
 
-- 
GitLab