summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/fe
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-23 17:53:59 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-23 17:53:59 +0000
commitbce2b3931f8dec0ed7846c0bdffe44c29c939bce (patch)
tree2b76517a53b1cb20637c22773590202fdc87875a /TAO/TAO_IDL/fe
parente7daf5df22ed8d04feb187057d3403c44c337b25 (diff)
downloadATCD-bce2b3931f8dec0ed7846c0bdffe44c29c939bce.tar.gz
remove .orig files after applying patches
Diffstat (limited to 'TAO/TAO_IDL/fe')
-rw-r--r--TAO/TAO_IDL/fe/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/fe/Makefile b/TAO/TAO_IDL/fe/Makefile
index d050417679e..ed6a4f0ac09 100644
--- a/TAO/TAO_IDL/fe/Makefile
+++ b/TAO/TAO_IDL/fe/Makefile
@@ -65,13 +65,14 @@ y.tab.h y.tab.cpp: idl.yy
$(YACC) $(YFLAGS) idl.yy
@mv -f y.tab.c y.tab.cpp
@patch < y.tab.cpp.diff
+ @-$(RM) -f y.tab.cpp.orig
lex.yy.cpp: idl.ll y.tab.h
$(LEX) $(LFLAGS) idl.ll > $@
@sed -e "s/unistd/stdio/g" -e "s@#include <@#include /**/ <@" -e "s/ECHO/TAO_ECHO/g" < $@ >> /tmp/$@
@cp /tmp/$@ $@
- @(RM) -f /tmp/$@
@patch < lex.yy.cpp.diff
+ @-(RM) -f /tmp/$@ lex.yy.cpp.orig
#----------------------------------------------------------------------------
# Dependencies