summaryrefslogtreecommitdiffstats
path: root/windows/copy_hdf.bat
diff options
context:
space:
mode:
Diffstat (limited to 'windows/copy_hdf.bat')
-rwxr-xr-xwindows/copy_hdf.bat41
1 files changed, 23 insertions, 18 deletions
diff --git a/windows/copy_hdf.bat b/windows/copy_hdf.bat
index 2b3199d..b02e2eb 100755
--- a/windows/copy_hdf.bat
+++ b/windows/copy_hdf.bat
@@ -1,22 +1,25 @@
-@REM Copyright by The HDF Group.
-@REM Copyright by the Board of Trustees of the University of Illinois.
-@REM All rights reserved.
-@REM
-@REM This file is part of HDF5. The full HDF5 copyright notice, including
-@REM terms governing use, modification, and redistribution, is contained in
-@REM the files COPYING and Copyright.html. COPYING can be found at the root
-@REM of the source code distribution tree; Copyright.html can be found at the
-@REM root level of an installed copy of the electronic HDF5 document set and
-@REM is linked from the top-level documents page. It can also be found at
-@REM http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
-@REM access to either file, you may request a copy from help@hdfgroup.org.
+@echo off
+rem Copyright by The HDF Group.
+rem Copyright by the Board of Trustees of the University of Illinois.
+rem All rights reserved.
+rem
+rem This file is part of HDF5. The full HDF5 copyright notice, including
+rem terms governing use, modification, and redistribution, is contained in
+rem the files COPYING and Copyright.html. COPYING can be found at the root
+rem of the source code distribution tree; Copyright.html can be found at the
+rem root level of an installed copy of the electronic HDF5 document set and
+rem is linked from the top-level documents page. It can also be found at
+rem http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
+rem access to either file, you may request a copy from help@hdfgroup.org.
-@REM File Name : copy_hdf.bat
-@REM Purpose : Copy all Files in the following formats from Windows to
-@REM approapriate directory: .bat .c .f90 .h .txt .js
-@REM :
-@REM Written By : Muqun Yang
-@REM Last Update : June 7, 2005 by Fang GUO
+rem File Name : copy_hdf.bat
+rem Purpose : Copy all Files in the following formats from Windows to
+rem approapriate directory: .bat .c .f90 .h .txt .js
+rem :
+rem Written By : Muqun Yang
+rem Last Update : November 17, 2007 by Scott Wegner
+
+pushd %~dp0
copy src\H5Tinit.c ..\src
copy src\H5pubconf.h ..\src
@@ -24,3 +27,5 @@ copy fortran\src\H5f90i_gen.h ..\fortran\src
copy fortran\src\H5fortran_types.f90 ..\fortran\src
xcopy /e/i/Y *.bat ..\
copy examples\testExamples_exp_output.txt ..\examples
+
+popd