From 38f7d84f8380292861a775127698fe68d2b8f4af Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 20 Mar 2011 10:16:56 +0000 Subject: [PATCH] add html docs in nightly packages --- utils/api_demos/mainHomology.cpp | 2 +- utils/misc/update_copyright.sh | 6 +++--- utils/nightly/linux.sh | 2 ++ utils/nightly/mac.sh | 2 ++ utils/nightly/windows.sh | 2 ++ utils/solvers/c++/GmshSocket.h | 2 +- utils/solvers/c/GmshClient.c | 2 +- utils/solvers/c/GmshClient.h | 2 +- 8 files changed, 13 insertions(+), 7 deletions(-) diff --git a/utils/api_demos/mainHomology.cpp b/utils/api_demos/mainHomology.cpp index 201ca5a194..a378b928b2 100644 --- a/utils/api_demos/mainHomology.cpp +++ b/utils/api_demos/mainHomology.cpp @@ -1,4 +1,4 @@ -// Gmsh - Copyright (C) 1997-2010 C. Geuzaine, J.-F. Remacle +// Gmsh - Copyright (C) 1997-2011 C. Geuzaine, J.-F. Remacle // // See the LICENSE.txt file for license information. Please report all // bugs and problems to <gmsh@geuz.org>. diff --git a/utils/misc/update_copyright.sh b/utils/misc/update_copyright.sh index 719830ce35..d737efa272 100755 --- a/utils/misc/update_copyright.sh +++ b/utils/misc/update_copyright.sh @@ -1,12 +1,12 @@ #!/bin/sh - -files=`find ../.. -not -path "*.svn*" -and -not -path "*lib*" -and -not -path "*bin*" -and -not -name "update_copyright.sh" | xargs grep 'Copyright (C) 1997-2009 C. Geuzaine, J.-F. Remacle' -sl` +files=`find ../.. -not -path "*.svn*" -and -not -path "*lib*" -and -not -path "*bin*" -and -not -name "update_copyright.sh" -print0 | xargs -0 grep 'Copyright (C) 1997-2010 C. Geuzaine, J.-F. Remacle' -sl` -# echo $files +#echo $files for file in $files do -sed "s|(C) 1997-2009 C|(C) 1997-2010 C|g" $file > $file.tmp +sed "s|(C) 1997-2010 C|(C) 1997-2011 C|g" $file > $file.tmp echo modified $file rm -f $file mv $file.tmp $file diff --git a/utils/nightly/linux.sh b/utils/nightly/linux.sh index d56f5fa035..9e4cfc0bed 100755 --- a/utils/nightly/linux.sh +++ b/utils/nightly/linux.sh @@ -17,7 +17,9 @@ cd ${GMSH}/bin && \ ${CMAKE} -DGMSH_EXTRA_VERSION:string="-svn"\ -DCMAKE_PREFIX_PATH:path="/usr/local;/usr/local/opencascade"\ -DENABLE_NATIVE_FILE_CHOOSER:bool=FALSE\ + -DENABLE_SWIG:bool=FALSE\ ${GMSH} >> ${LOG} 2>&1 +cd ${GMSH}/bin && make html >> ${LOG} 2>&1 cd ${GMSH}/bin && make package >> ${LOG} 2>&1 echo "BUILD END: `date`" >> ${LOG} scp -C ${GMSH}/bin/gmsh-*.tar.gz ${WEB_BIN}/gmsh-nightly-Linux.tgz diff --git a/utils/nightly/mac.sh b/utils/nightly/mac.sh index 50840902ca..3b130e2361 100755 --- a/utils/nightly/mac.sh +++ b/utils/nightly/mac.sh @@ -16,7 +16,9 @@ mkdir ${GMSH}/bin cd ${GMSH}/bin &&\ ${CMAKE} -DGMSH_EXTRA_VERSION:string="-svn"\ -DCMAKE_PREFIX_PATH:path="/usr/local;/usr/local/opencascade"\ + -DENABLE_SWIG:bool=FALSE\ ${GMSH} >> ${LOG} 2>&1 +cd ${GMSH}/bin && make html >> ${LOG} 2>&1 cd ${GMSH}/bin && make package -j 4 >> ${LOG} 2>&1 echo "BUILD END: `date`" >> ${LOG} scp -C ${GMSH}/bin/gmsh-*.dmg ${WEB_BIN}/gmsh-nightly-MacOSX.dmg diff --git a/utils/nightly/windows.sh b/utils/nightly/windows.sh index 6b5d528a06..a5e1856ea9 100755 --- a/utils/nightly/windows.sh +++ b/utils/nightly/windows.sh @@ -18,7 +18,9 @@ cd ${GMSH}/bin && \ -DCMAKE_PREFIX_PATH:path="/usr/local;/usr/local/opencascade"\ -DCMAKE_CXX_FLAGS:string="-mno-cygwin"\ -DCMAKE_C_FLAGS:string="-mno-cygwin"\ + -DENABLE_SWIG:bool=FALSE\ ${GMSH} >> ${LOG} 2>&1 +cd ${GMSH}/bin && make html >> ${LOG} 2>&1 cd ${GMSH}/bin && make package >> ${LOG} 2>&1 echo "BUILD END: `date`" >> ${LOG} scp -C ${GMSH}/bin/gmsh-*.zip ${WEB_BIN}/gmsh-nightly-Windows.zip diff --git a/utils/solvers/c++/GmshSocket.h b/utils/solvers/c++/GmshSocket.h index 58caa9d4b2..0f67ad37b6 100644 --- a/utils/solvers/c++/GmshSocket.h +++ b/utils/solvers/c++/GmshSocket.h @@ -1,4 +1,4 @@ -// Gmsh - Copyright (C) 1997-2010 C. Geuzaine, J.-F. Remacle +// Gmsh - Copyright (C) 1997-2011 C. Geuzaine, J.-F. Remacle // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation diff --git a/utils/solvers/c/GmshClient.c b/utils/solvers/c/GmshClient.c index b3e8326eab..8124d05d0b 100644 --- a/utils/solvers/c/GmshClient.c +++ b/utils/solvers/c/GmshClient.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2010 C. Geuzaine, J.-F. Remacle + * Copyright (C) 1997-2011 C. Geuzaine, J.-F. Remacle * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation diff --git a/utils/solvers/c/GmshClient.h b/utils/solvers/c/GmshClient.h index 377da9e19d..26eb36f397 100644 --- a/utils/solvers/c/GmshClient.h +++ b/utils/solvers/c/GmshClient.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2010 C. Geuzaine, J.-F. Remacle + * Copyright (C) 1997-2011 C. Geuzaine, J.-F. Remacle * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation -- GitLab