version 1.61, 2011/02/02 19:49:16
|
version 1.62, 2011/02/04 01:33:56
|
|
|
echo "done" | echo "done" |
echo | echo |
| |
echo "Setting links to scripts..." |
|
if (!(-d scripts)) then |
|
mkdir scripts |
|
endif |
|
cd scripts |
|
|
|
# Sums scripts |
|
find ../base/sums/scripts -mindepth 1 \( -path \*CVS -prune -o -exec ln -s {} . \; -a -exec echo " " {} " OK" \; \) -o -exec echo " " {} " ERROR - couldn't create link" \; |
|
|
|
# Util scripts |
|
find ../base/util/scripts -mindepth 1 \( -path \*CVS -prune -o -exec ln -s {} . \; -a -exec echo " " {} " OK" \; \) -o -exec echo " " {} " ERROR - couldn't create link" \; |
|
|
|
# Export scripts |
|
find ../base/export/scripts -mindepth 1 \( -path \*CVS -prune -o -exec ln -s {} . \; -a -exec echo " " {} " OK" \; \) -o -exec echo " " {} " ERROR - couldn't create link" \; |
|
|
|
# DRMS / IDL-interface scripts |
|
find ../base/drms/scripts -mindepth 1 \( -path \*CVS -prune -o -exec ln -s {} . \; -a -exec echo " " {} " OK" \; \) -o -exec echo " " {} " ERROR - couldn't create link" \; |
|
|
|
# Project-specific scripts - these won't show up if you don't have the project source. |
|
if (-x ../proj/configure) then |
|
../proj/configure |
|
endif |
|
|
|
cd .. |
|
echo "done" |
|
echo |
|
|
|
echo "Setting links to jsds..." | echo "Setting links to jsds..." |
if (!(-d jsds)) then | if (!(-d jsds)) then |
mkdir jsds | mkdir jsds |
|
|
./moreconfigure.pl -d${LOCALIZATIONDIR} -fcustom.mk | ./moreconfigure.pl -d${LOCALIZATIONDIR} -fcustom.mk |
endif | endif |
| |
|
|
if (${PROJCONFIG} == "") then | if (${PROJCONFIG} == "") then |
if (-e configsdp.txt) then | if (-e configsdp.txt) then |
set PROJCONFIG = configsdp.txt | set PROJCONFIG = configsdp.txt |
|
|
if (-e configsdp.txt) then | if (-e configsdp.txt) then |
set PROJCONFIGEXE = "/home/jsoc/bin/linux_x86_64/perl5.12.2 configproj.pl" | set PROJCONFIGEXE = "/home/jsoc/bin/linux_x86_64/perl5.12.2 configproj.pl" |
else | else |
set PROJCONFIGEXE = "perl" |
set PROJCONFIGEXE = "configproj.pl" |
endif | endif |
| |
if (${PROJCONFIG} != "") then | if (${PROJCONFIG} != "") then |
|
echo "Running project configuration [${PROJCONFIGEXE} -c${PROJCONFIG} -d${LOCALIZATIONDIR}]." |
${PROJCONFIGEXE} -c${PROJCONFIG} -d${LOCALIZATIONDIR} | ${PROJCONFIGEXE} -c${PROJCONFIG} -d${LOCALIZATIONDIR} |
endif | endif |
| |
|
echo "Setting links to scripts..." |
|
if (!(-d scripts)) then |
|
mkdir scripts |
|
endif |
|
cd scripts |
|
|
|
# Sums scripts |
|
find ../base/sums/scripts -mindepth 1 \( -path \*CVS -prune -o -exec ln -s {} . \; -a -exec echo " " {} " OK" \; \) -o -exec echo " " {} " ERROR - couldn't create link" \; |
|
|
|
# Util scripts |
|
find ../base/util/scripts -mindepth 1 \( -path \*CVS -prune -o -exec ln -s {} . \; -a -exec echo " " {} " OK" \; \) -o -exec echo " " {} " ERROR - couldn't create link" \; |
|
|
|
# Export scripts |
|
find ../base/export/scripts -mindepth 1 \( -path \*CVS -prune -o -exec ln -s {} . \; -a -exec echo " " {} " OK" \; \) -o -exec echo " " {} " ERROR - couldn't create link" \; |
|
|
|
# DRMS / IDL-interface scripts |
|
find ../base/drms/scripts -mindepth 1 \( -path \*CVS -prune -o -exec ln -s {} . \; -a -exec echo " " {} " OK" \; \) -o -exec echo " " {} " ERROR - couldn't create link" \; |
|
|
|
# Project-specific scripts - these won't show up if you don't have the project source. |
|
if (-x ${LOCALIZATIONDIR}/configure) then |
|
${LOCALIZATIONDIR}/configure |
|
endif |
|
|
|
cd .. |
|
echo "done" |
|
echo |
|
|
echo "Setting links to headers..." | echo "Setting links to headers..." |
| |
cd base/include | cd base/include |