From 10f5e8080328ce7307f4f352a563311cd482e326 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Fri, 11 Feb 2011 09:21:08 +0100 Subject: [PATCH] ENH: add -make option to touchdep, toucho - restricts selection to Make/$WM_OPTIONS* subdirectories, which is useful when multiple compilers are in use --- bin/touchdep | 70 +++++++++++++++++++++++++++++++++++++++++++--------- bin/toucho | 67 ++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 113 insertions(+), 24 deletions(-) diff --git a/bin/touchdep b/bin/touchdep index cfc8cebc20..48c19081ca 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) 2004-2010 OpenCFD Ltd. +# \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. # \\/ M anipulation | #------------------------------------------------------------------------------- # License @@ -28,25 +28,71 @@ # Description # touch all .dep files #------------------------------------------------------------------------------ +usage() { + while [ "$#" -ge 1 ]; do echo "$1"; shift; done + cat<