]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
bugfixes for the HLT build system:
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Apr 2010 06:53:24 +0000 (06:53 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Apr 2010 06:53:24 +0000 (06:53 +0000)
- dependencies resolved correctly
- creating the links to external files only if they do not yet exist

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