make: Replace sed by $(SED)

This commit is contained in:
Jan Lindemann 2012-02-04 10:59:02 +00:00 committed by Jan Lindemann
commit 9f4e02e618
18 changed files with 80 additions and 77 deletions

View file

@ -52,7 +52,7 @@ $(WINLIB): $(REQUIRED_H)
echo "++++ $$modfiles"; \
if [ -n "$$modfiles" ]; then cp $$modfiles $(DISTDIR)/src/$(PROJECT)/mod/$$mod/; fi ;\
if [ -f "$$dir/Makefile" ]; then \
sed $$dir/Makefile -e "s/^TOPDIR\ *=.*/TOPDIR = \.\.\/\.\./g" > $(DISTDIR)/src/$(PROJECT)/mod/$$mod/Makefile ;\
$(SED) $$dir/Makefile -e "s/^TOPDIR\ *=.*/TOPDIR = \.\.\/\.\./g" > $(DISTDIR)/src/$(PROJECT)/mod/$$mod/Makefile ;\
fi; \
done ;\
cp $(MODDIR)/Makefile $(DISTDIR)/src/$(PROJECT)/mod/