summaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authornewhook <matthew.newhook@gmail.com>2015-04-22 17:41:42 -0230
committernewhook <matthew.newhook@gmail.com>2015-04-22 17:41:42 -0230
commit71a49e33a43de35a0fddf5f0808b3b06f715d46b (patch)
tree972cff5231b1e8e4825c3961a428b2a20e2a223b /ruby
parentRPM build fixes (diff)
downloadice-71a49e33a43de35a0fddf5f0808b3b06f715d46b.tar.bz2
ice-71a49e33a43de35a0fddf5f0808b3b06f715d46b.tar.xz
ice-71a49e33a43de35a0fddf5f0808b3b06f715d46b.zip
ICE-6433: config/makedepend.py: replace with sed?
Diffstat (limited to 'ruby')
-rw-r--r--ruby/ruby/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/ruby/ruby/Makefile b/ruby/ruby/Makefile
index deebfa22b08..884486b85b0 100644
--- a/ruby/ruby/Makefile
+++ b/ruby/ruby/Makefile
@@ -123,42 +123,42 @@ Ice/%.rb: $(slicedir)/Ice/%.ice $(SLICE2RB) $(SLICEPARSERLIB)
$(SLICE2RB) --output-dir $(notdir $(<D)) $(SLICE2RBFLAGS) $<
@mkdir -p .depend
@$(SLICE2RB) --output-dir $(notdir $(<D)) $(SLICE2RBFLAGS) --depend $< | \
- $(top_srcdir)/../config/makedepend.py "Ice/" > .depend/Ice_$(*F).ice.d
+ sed 's/\(.*: \\\)/Ice\/\1/' > .depend/Ice_$(*F).ice.d
Glacier2/%.rb: $(slicedir)/Glacier2/%.ice $(SLICE2RB) $(SLICEPARSERLIB)
@mkdir -p $(notdir $(<D))
$(SLICE2RB) --output-dir $(notdir $(<D)) $(SLICE2RBFLAGS) $<
@mkdir -p .depend
@$(SLICE2RB) --output-dir $(notdir $(<D)) $(SLICE2RBFLAGS) --depend $< | \
- $(top_srcdir)/../config/makedepend.py "Glacier2/" > .depend/Glacier2_$(*F).ice.d
+ sed 's/\(.*: \\\)/Glacier2\/\1/' > .depend/Glacier2_$(*F).ice.d
IceBox/%.rb: $(slicedir)/IceBox/%.ice $(SLICE2RB) $(SLICEPARSERLIB)
@mkdir -p $(notdir $(<D))
$(SLICE2RB) --output-dir $(notdir $(<D)) $(SLICE2RBFLAGS) $<
@mkdir -p .depend
@$(SLICE2RB) --output-dir $(notdir $(<D)) $(SLICE2RBFLAGS) --depend $< | \
- $(top_srcdir)/../config/makedepend.py "IceBox/" > .depend/IceBox_$(*F).ice.d
+ sed 's/\(.*: \\\)/IceBox\/\1/' > .depend/IceBox_$(*F).ice.d
IceGrid/%.rb: $(slicedir)/IceGrid/%.ice $(SLICE2RB) $(SLICEPARSERLIB)
@mkdir -p $(notdir $(<D))
$(SLICE2RB) --output-dir $(notdir $(<D)) $(SLICE2RBFLAGS) $<
@mkdir -p .depend
@$(SLICE2RB) --output-dir $(notdir $(<D)) $(SLICE2RBFLAGS) --depend $< | \
- $(top_srcdir)/../config/makedepend.py "IceGrid/" > .depend/IceGrid_$(*F).ice.d
+ sed 's/\(.*: \\\)/IceGrid\/\1/' > .depend/IceGrid_$(*F).ice.d
IcePatch2/%.rb: $(slicedir)/IcePatch2/%.ice $(SLICE2RB) $(SLICEPARSERLIB)
@mkdir -p $(notdir $(<D))
$(SLICE2RB) --output-dir $(notdir $(<D)) $(SLICE2RBFLAGS) $<
@mkdir -p .depend
@$(SLICE2RB) --output-dir $(notdir $(<D)) $(SLICE2RBFLAGS) --depend $< | \
- $(top_srcdir)/../config/makedepend.py "IcePatch2/" > .depend/IcePatch2_$(*F).ice.d
+ sed 's/\(.*: \\\)/IcePatch2\/\1/' > .depend/IcePatch2_$(*F).ice.d
IceStorm/%.rb: $(slicedir)/IceStorm/%.ice $(SLICE2RB) $(SLICEPARSERLIB)
@mkdir -p $(notdir $(<D))
$(SLICE2RB) --output-dir $(notdir $(<D)) $(SLICE2RBFLAGS) $<
@mkdir -p .depend
@$(SLICE2RB) --output-dir $(notdir $(<D)) $(SLICE2RBFLAGS) --depend $< | \
- $(top_srcdir)/../config/makedepend.py "IceStorm/" > .depend/IceStorm_$(*F).ice.d
+ sed 's/\(.*: \\\)/IceStorm\/\1/' > .depend/IceStorm_$(*F).ice.d
install:: $(ALL_SRCS)
@echo "Installing generated code"