diff options
author | Hans-Joachim Lankenau <hjs@openoffice.org> | 2002-03-06 11:52:55 +0000 |
---|---|---|
committer | Hans-Joachim Lankenau <hjs@openoffice.org> | 2002-03-06 11:52:55 +0000 |
commit | 16c331c18590be4dd6bd42b8eaa0b83065a424ba (patch) | |
tree | 31c1a31e4baaf9d7bb0f3f4bc70f0708aaa1c3ec /solenv/inc/tg_yxx.mk | |
parent | 5a74a753f4140b97d1af9ed7edcf0b3ecfaff7d2 (diff) |
#i3114# accept different output namings (bison ver 1.2x/1.3x)
Diffstat (limited to 'solenv/inc/tg_yxx.mk')
-rw-r--r-- | solenv/inc/tg_yxx.mk | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/solenv/inc/tg_yxx.mk b/solenv/inc/tg_yxx.mk index 3acb75803f05..eb6380a13121 100644 --- a/solenv/inc/tg_yxx.mk +++ b/solenv/inc/tg_yxx.mk @@ -3,12 +3,10 @@ $(YACCTARGET): $(YACCFILES) @echo ------------------------------ @echo Making: $@ -#.IF "$(GUI)"!="UNX" - $(BISON) $(YACCFLAGS) $(YACCOUT)$/$(YACCTARGET) $(YACCFILES) -#.ELSE -# $(BISON) $(YACCFLAGS) $(YACCFILES) -# mv y.tab.c $(INCCOM)/rscyacc.yxx -# mv y.tab.h $(INCCOM)/yytab.h -#.ENDIF + $(BISON) $(YACCFLAGS) $(YACCTARGET) $(YACCFILES) +# removing -f switch - avoid getting nothing when copying a file to itself + @+-$(COPY:s/-f//) $@.h $(INCCOM)$/$(@:b).hxx >& $(NULLDEV) + @+-$(COPY:s/-f//) $(@:d)$/$(@:b).hxx $(INCCOM)$/$(@:b).hxx >& $(NULLDEV) + +$(TYPE) $(INCCOM)$/$(@:b).hxx >& $(NULLDEV) .ENDIF |