[build] Support silent rules for sed

This commit is contained in:
Bill Currie 2020-07-17 01:20:02 +09:00
parent 91ff15ca7c
commit 900728169e

View file

@ -73,12 +73,19 @@ libs_video_renderer_vid_render_gl_la_SOURCES=\
shader_src= libs/video/renderer/glsl/quakeforge.glsl shader_src= libs/video/renderer/glsl/quakeforge.glsl
shader_gen= libs/video/renderer/glsl/quakeforge.slc shader_gen= libs/video/renderer/glsl/quakeforge.slc
V_SED = $(V_SED_@AM_V@)
V_SED_ = $(V_SED_@AM_DEFAULT_V@)
V_SED_0 = @echo " SED " $@;
V_SED_1 =
SUFFICES=.frag .vert .fc .vc .slc .glsl .plist .plc SUFFICES=.frag .vert .fc .vc .slc .glsl .plist .plc
.glsl.slc: .glsl.slc:
sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@ $(V_SED)sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@.t &&\
$(am__mv) $@.t $@
.plist.plc: .plist.plc:
sed -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/\\n"/' $< > $@ $(V_SED)sed -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/\\n"/' $< > $@.t &&\
$(am__mv) $@.t $@
video_renderer_glsl_libs= \ video_renderer_glsl_libs= \
libs/models/libmodels_glsl.la libs/models/libmodels_glsl.la
@ -249,6 +256,7 @@ CLEANFILES += \
libs/video/renderer/glsl/*.fc \ libs/video/renderer/glsl/*.fc \
libs/video/renderer/glsl/*.slc \ libs/video/renderer/glsl/*.slc \
libs/video/renderer/vulkan/*.plc \ libs/video/renderer/vulkan/*.plc \
libs/video/renderer/vulkan/vkgen.sym \
$(vkparse_src) $(vkparse_src)
BUILT_SOURCES += $(shader_gen) BUILT_SOURCES += $(shader_gen)