]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/pendolino/Makefile.am
bugfixes for the HLT build system:
[u/mrichter/AliRoot.git] / HLT / pendolino / Makefile.am
index bab39d29a5070b6459aa0713a98e4a34701fe447..2be821d6ac35d223fdbf59b68dac0ce81d01f27c 100644 (file)
@@ -51,10 +51,10 @@ COMPILE_INFO                        =  HLTpendolinoCompileInfo.cxx
 SHUTTLE_ADDON                  = AliDCSClient.h AliDCSMessage.h
 
 $(SHUTTLE_ADDON):
-       ln -s $(ALICE_ROOT)/SHUTTLE/DCSClient/$@
+       test -e $@ || ln -s $(ALICE_ROOT)/SHUTTLE/DCSClient/$@
 
-$(SHUTTLE_ADDON:.h=.cxx): $($@:.cxx=.h)
-       ln -s $(ALICE_ROOT)/SHUTTLE/DCSClient/$@
+$(SHUTTLE_ADDON:.h=.cxx): $(SHUTTLE_ADDON)
+       test -e $@ || ln -s $(ALICE_ROOT)/SHUTTLE/DCSClient/$@
 
 # set the file name for the generated root dictionary
 DICTCPP                                =  HLTpendolino-DICT.cxx