mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-23 06:30:38 +01:00
make: Replace sed by $(SED)
This commit is contained in:
parent
6f7bc019a9
commit
9f4e02e618
18 changed files with 80 additions and 77 deletions
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue