Skip to content
Snippets Groups Projects
Commit 38f7d84f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

add html docs in nightly packages

parent d8e345fc
No related branches found
No related tags found
No related merge requests found
// 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 // See the LICENSE.txt file for license information. Please report all
// bugs and problems to <gmsh@geuz.org>. // bugs and problems to <gmsh@geuz.org>.
......
#!/bin/sh - #!/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 for file in $files
do 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 echo modified $file
rm -f $file rm -f $file
mv $file.tmp $file mv $file.tmp $file
......
...@@ -17,7 +17,9 @@ cd ${GMSH}/bin && \ ...@@ -17,7 +17,9 @@ cd ${GMSH}/bin && \
${CMAKE} -DGMSH_EXTRA_VERSION:string="-svn"\ ${CMAKE} -DGMSH_EXTRA_VERSION:string="-svn"\
-DCMAKE_PREFIX_PATH:path="/usr/local;/usr/local/opencascade"\ -DCMAKE_PREFIX_PATH:path="/usr/local;/usr/local/opencascade"\
-DENABLE_NATIVE_FILE_CHOOSER:bool=FALSE\ -DENABLE_NATIVE_FILE_CHOOSER:bool=FALSE\
-DENABLE_SWIG:bool=FALSE\
${GMSH} >> ${LOG} 2>&1 ${GMSH} >> ${LOG} 2>&1
cd ${GMSH}/bin && make html >> ${LOG} 2>&1
cd ${GMSH}/bin && make package >> ${LOG} 2>&1 cd ${GMSH}/bin && make package >> ${LOG} 2>&1
echo "BUILD END: `date`" >> ${LOG} echo "BUILD END: `date`" >> ${LOG}
scp -C ${GMSH}/bin/gmsh-*.tar.gz ${WEB_BIN}/gmsh-nightly-Linux.tgz scp -C ${GMSH}/bin/gmsh-*.tar.gz ${WEB_BIN}/gmsh-nightly-Linux.tgz
......
...@@ -16,7 +16,9 @@ mkdir ${GMSH}/bin ...@@ -16,7 +16,9 @@ mkdir ${GMSH}/bin
cd ${GMSH}/bin &&\ cd ${GMSH}/bin &&\
${CMAKE} -DGMSH_EXTRA_VERSION:string="-svn"\ ${CMAKE} -DGMSH_EXTRA_VERSION:string="-svn"\
-DCMAKE_PREFIX_PATH:path="/usr/local;/usr/local/opencascade"\ -DCMAKE_PREFIX_PATH:path="/usr/local;/usr/local/opencascade"\
-DENABLE_SWIG:bool=FALSE\
${GMSH} >> ${LOG} 2>&1 ${GMSH} >> ${LOG} 2>&1
cd ${GMSH}/bin && make html >> ${LOG} 2>&1
cd ${GMSH}/bin && make package -j 4 >> ${LOG} 2>&1 cd ${GMSH}/bin && make package -j 4 >> ${LOG} 2>&1
echo "BUILD END: `date`" >> ${LOG} echo "BUILD END: `date`" >> ${LOG}
scp -C ${GMSH}/bin/gmsh-*.dmg ${WEB_BIN}/gmsh-nightly-MacOSX.dmg scp -C ${GMSH}/bin/gmsh-*.dmg ${WEB_BIN}/gmsh-nightly-MacOSX.dmg
......
...@@ -18,7 +18,9 @@ cd ${GMSH}/bin && \ ...@@ -18,7 +18,9 @@ cd ${GMSH}/bin && \
-DCMAKE_PREFIX_PATH:path="/usr/local;/usr/local/opencascade"\ -DCMAKE_PREFIX_PATH:path="/usr/local;/usr/local/opencascade"\
-DCMAKE_CXX_FLAGS:string="-mno-cygwin"\ -DCMAKE_CXX_FLAGS:string="-mno-cygwin"\
-DCMAKE_C_FLAGS:string="-mno-cygwin"\ -DCMAKE_C_FLAGS:string="-mno-cygwin"\
-DENABLE_SWIG:bool=FALSE\
${GMSH} >> ${LOG} 2>&1 ${GMSH} >> ${LOG} 2>&1
cd ${GMSH}/bin && make html >> ${LOG} 2>&1
cd ${GMSH}/bin && make package >> ${LOG} 2>&1 cd ${GMSH}/bin && make package >> ${LOG} 2>&1
echo "BUILD END: `date`" >> ${LOG} echo "BUILD END: `date`" >> ${LOG}
scp -C ${GMSH}/bin/gmsh-*.zip ${WEB_BIN}/gmsh-nightly-Windows.zip scp -C ${GMSH}/bin/gmsh-*.zip ${WEB_BIN}/gmsh-nightly-Windows.zip
......
// 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 // Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation // obtaining a copy of this software and associated documentation
......
/* /*
* 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 * Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation * obtaining a copy of this software and associated documentation
......
/* /*
* 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 * Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation * obtaining a copy of this software and associated documentation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment