mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
[build] Support silent rules for sed
This commit is contained in:
parent
91ff15ca7c
commit
900728169e
1 changed files with 10 additions and 2 deletions
|
@ -73,12 +73,19 @@ libs_video_renderer_vid_render_gl_la_SOURCES=\
|
|||
shader_src= libs/video/renderer/glsl/quakeforge.glsl
|
||||
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
|
||||
.glsl.slc:
|
||||
sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@
|
||||
$(V_SED)sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@.t &&\
|
||||
$(am__mv) $@.t $@
|
||||
|
||||
.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= \
|
||||
libs/models/libmodels_glsl.la
|
||||
|
@ -249,6 +256,7 @@ CLEANFILES += \
|
|||
libs/video/renderer/glsl/*.fc \
|
||||
libs/video/renderer/glsl/*.slc \
|
||||
libs/video/renderer/vulkan/*.plc \
|
||||
libs/video/renderer/vulkan/vkgen.sym \
|
||||
$(vkparse_src)
|
||||
|
||||
BUILT_SOURCES += $(shader_gen)
|
||||
|
|
Loading…
Reference in a new issue