]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removing some temporary files and directories
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Jul 2003 13:57:22 +0000 (13:57 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Jul 2003 13:57:22 +0000 (13:57 +0000)
build/module.tpl

index ffe40d9b81404e3eeb734a1bc5ea7afa5df91db8..4029c1a235ec7447e262952234f74d2186013ffc 100644 (file)
@@ -189,7 +189,7 @@ endif
          TMPLIB=$(notdir $(@PACKAGE@LIB)); export TMPLIB;\
          $(SHLD) $(@PACKAGE@SOFLAGS) -o $(CURDIR)/$@ $(notdir $(@PACKAGE@O) $(@PACKAGE@DO))  $(@PACKAGE@ELIBSDIR) $(@PACKAGE@ELIBS) $(SHLIB);\
          chmod a-w $(CURDIR)/$@ ;\
-         rm -rf $$TMPDIR
+         cd $(ALICE_ROOT) ; \rm -rf $$TMPDIR
 
 ifneq ($(DYEXT),)
 $(@PACKAGE@DLIB):$(@PACKAGE@O) $(@PACKAGE@DO) @MODULE@/module.mk
@@ -199,10 +199,10 @@ endif
          $(MUTE)TMPDIR=/tmp/@MODULE@$$$$.`date +%M%S` ; \
          export TMPDIR; mkdir $$TMPDIR ; cd $$TMPDIR ; \
          find $(CURDIR)/@MODULE@/tgt_$(ALICE_TARGET) -name '*.o' -exec ln -s {} . \; ;\
-         rm -f $(CURDIR)/$@ ;\
+         \rm -f $(CURDIR)/$@ ;\
          $(DYLD) $(@PACKAGE@DYFLAGS) -o $(CURDIR)/$@ $(notdir $(@PACKAGE@O) $(@PACKAGE@DO))  $(@PACKAGE@ELIBSDIR) $(@PACKAGE@ELIBS) $(DYLIB);\
          chmod a-w $(CURDIR)/$@ ;\
-         rm -rf $$TMPDIR
+         cd $(ALICE_ROOT) ; \rm -rf $$TMPDIR
 endif
 
 #------------------------------------------------------------------------