| 5,8 → 5,9 |
| |
| # ---- set some directories and other stuff --- |
| |
| set mode = $1 |
| set svnpath=https://svn.iac.ethz.ch/pub/pvinversion.ecmwf/ |
| set bdir = ${PWD} |
| set mode = $1 |
| |
| # ----- Set libraries and includes ------------ |
| |
| 19,6 → 20,22 |
| set ncdf_incs = `nc-config --fflags` |
| set ncdf_libs = `nc-config --flibs` |
| |
| # ----- Create a new SVN tag ------------------ |
| tag: |
| |
| if ( "${mode}" == "tag" ) then |
| svn info |
| if ( "${#argv}" != 2 ) then |
| echo "Usage: install.csh tag id <id=tag number>" |
| else |
| set tagnr = $2 |
| endif |
| svn copy ${svnpath}/trunk ${svnpath}/tags/${tagnr} -m "Release ${tagnr}" |
| exit 0 |
| endif |
| |
| |
| if ( "${mode}" != "clean" ) goto compile |
| # ----- Make clean ---------------------------- |
| clean: |
| |