summaryrefslogtreecommitdiff
path: root/objective-c
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 /objective-c
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 'objective-c')
-rw-r--r--objective-c/config/Make.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/objective-c/config/Make.rules b/objective-c/config/Make.rules
index 01724d1681c..59688462371 100644
--- a/objective-c/config/Make.rules
+++ b/objective-c/config/Make.rules
@@ -146,7 +146,7 @@ $(HDIR)/%F.h: $(SDIR)/%F.ice $(SLICE2OBJC)
mv $(*F)F.h $(HDIR)
@touch $(*F)F.m
@mkdir -p .depend
- @$(SLICE2OBJC) $(SLICE2OBJCFLAGS) --depend $< | $(ice_dir)/config/makedepend.py "\$$(HDIR)/" > .depend/$(*F)F.ice.d
+ @$(SLICE2OBJC) $(SLICE2OBJCFLAGS) --depend $< | sed 's/\(.*: \\\)/\$$(HDIR)\/\1/' > .depend/$(*F)F.ice.d
$(HDIR)/%.h %.m: $(SDIR)/%.ice $(SLICE2OBJC)
rm -f $(HDIR)/$(*F).h $(*F).m
@@ -154,7 +154,7 @@ $(HDIR)/%.h %.m: $(SDIR)/%.ice $(SLICE2OBJC)
mv $(*F).h $(HDIR)
@touch $(*F).m
@mkdir -p .depend
- @$(SLICE2OBJC) $(SLICE2OBJCFLAGS) --depend $< | $(ice_dir)/config/makedepend.py "\$$(HDIR)/" > .depend/$(*F).ice.d
+ @$(SLICE2OBJC) $(SLICE2OBJCFLAGS) --depend $< | sed 's/\(.*: \\\)/\$$(HDIR)\/\1/' > .depend/$(*F).ice.d
%.h %.m: %.ice $(SLICE2OBJC)
rm -f $(*F).h $(*F).m