mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Implement sed(1) commands using the make(1)'s RE variable modifier.
(This almost eliminates the need of a sed(1) during installworld.)
This commit is contained in:
parent
7b0ac2826b
commit
68de25ddb4
1 changed files with 3 additions and 3 deletions
|
|
@ -173,7 +173,7 @@ _maninstall: ${MAN}
|
|||
.endif
|
||||
.endfor
|
||||
.else
|
||||
@set `echo ${.ALLSRC} " " | sed 's/\.\([^.]*\) /.\1 \1 /g'`; \
|
||||
@set ${.ALLSRC:C/\.([^.]*)$/.\1 \1/}; \
|
||||
while : ; do \
|
||||
case $$# in \
|
||||
0) break;; \
|
||||
|
|
@ -204,7 +204,7 @@ _maninstall: ${MAN}
|
|||
.endif
|
||||
|
||||
.if !defined(NOMLINKS) && defined(MLINKS) && !empty(MLINKS)
|
||||
@set `echo ${MLINKS} " " | sed 's/\.\([^.]*\) /.\1 \1 /g'`; \
|
||||
@set ${MLINKS:C/\.([^.]*)$/.\1 \1/}; \
|
||||
while : ; do \
|
||||
case $$# in \
|
||||
0) break;; \
|
||||
|
|
@ -219,7 +219,7 @@ _maninstall: ${MAN}
|
|||
ln $${l}${ZEXT} $${t}${ZEXT}; \
|
||||
done
|
||||
.if defined(MANBUILDCAT) && !empty(MANBUILDCAT)
|
||||
@set `echo ${MLINKS} " " | sed 's/\.\([^.]*\) /.\1 \1 /g'`; \
|
||||
@set ${MLINKS:C/\.([^.]*)$/.\1 \1/}; \
|
||||
while : ; do \
|
||||
case $$# in \
|
||||
0) break;; \
|
||||
|
|
|
|||
Loading…
Reference in a new issue