Bug-Debian: https://bugs.debian.org/966882 Description: Remove rename and use res_y.hxx Author: Sudip Mukherjee Last-update: 2021-01-14 Forwarded: https://github.com/rosorio/buici-clock/pull/1 --- a/xo/Makefile.in +++ b/xo/Makefile.in @@ -104,7 +104,6 @@ $(O_D)%.o: %.s %.cxx: %.y $(YACC) -d -o $@ $< - mv $(basename $@).hxx $(basename $@).h %.i: %.cxx $(CC) -c $(CXXFLAGS) $(CXXFLAGS_) -E -o $(notdir $@) $< @@ -162,7 +161,7 @@ distclean: clean -rm Makefile config.h $(DEPEND) -rm config.cache config.status config.log -rm _version.h .version - -rm res_y.h res_l.cxx res_y.cxx + -rm res_y.hxx res_l.cxx res_y.cxx -rm libxo.a res_l.l: res.h --- a/xo/res.cxx +++ b/xo/res.cxx @@ -43,7 +43,7 @@ #define IS_PARSER #include "lres.h" -#include "res_y.h" +#include "res_y.hxx" #define LONG_PRIME_MAX (LONG_MAX/10) #define LONG_PRIME_MAX_REM (LONG_MAX - LONG_PRIME_MAX*10) --- a/xo/res_l.l +++ b/xo/res_l.l @@ -33,7 +33,7 @@ #include "standard.h" #define IS_PARSER #include "lres.h" -#include "res_y.h" +#include "res_y.hxx" #include #if defined (__cplusplus)