version 1.80, 2014/05/05 23:13:30
|
version 1.81, 2014/05/07 19:02:29
|
|
|
if (-d include) then | if (-d include) then |
cd include | cd include |
find . -name "*.h" -exec rm {} \; | find . -name "*.h" -exec rm {} \; |
|
find . -name "drmsparams*" -exec rm {} \; |
cd .. | cd .. |
endif | endif |
echo "done" | echo "done" |
|
|
echo -n "Removing links to scripts..." | echo -n "Removing links to scripts..." |
if (-d scripts) then | if (-d scripts) then |
cd scripts | cd scripts |
find . -name "*" -exec rm {} \; |
if ($? == 0) then |
|
find . -type l -exec rm {} \; |
|
endif |
cd .. | cd .. |
endif | endif |
echo "done" | echo "done" |
|
|
echo -n "Removing links to jsds..." | echo -n "Removing links to jsds..." |
if (-d jsds) then | if (-d jsds) then |
cd jsds | cd jsds |
find . -name "*" -exec rm {} \; |
if ($? == 0) then |
|
find . -type l -exec rm {} \; |
|
endif |
cd .. | cd .. |
endif | endif |
echo "done" | echo "done" |
|
|
echo | echo |
| |
if ($CLEAN == "yes") then | if ($CLEAN == "yes") then |
|
|
rm ${LOCALIZATIONDIR}/drmsparams.pm | rm ${LOCALIZATIONDIR}/drmsparams.pm |
endif | endif |
| |
|
if (-e ${LOCALIZATIONDIR}/drmsparams.py) then |
|
rm ${LOCALIZATIONDIR}/drmsparams.py |
|
endif |
|
|
|
|
# Must create the scripts subdirectory before the call to gen_init.csh | # Must create the scripts subdirectory before the call to gen_init.csh |
if (!(-d scripts)) then | if (!(-d scripts)) then |
mkdir scripts | mkdir scripts |
|
|
if (-d ../base/include) then | if (-d ../base/include) then |
find ../base/include -name \*.h -exec ln -s {} . \; | find ../base/include -name \*.h -exec ln -s {} . \; |
endif | endif |
|
|
|
# ${LOCALIZATIONDIR} is an absolute path |
|
ln -s ../${RELLOCALIZATIONDIR}/drmsparams.h |
|
ln -s ../${RELLOCALIZATIONDIR}/drmsparams.pm |
|
ln -s ../${RELLOCALIZATIONDIR}/drmsparams.py |
|
|
cd .. | cd .. |
echo "done" | echo "done" |
echo | echo |