mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-14 14:55:41 +00:00
Eliminate the need in uname(1) during install.
This commit is contained in:
parent
2cf50c62a6
commit
95ad4657c8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119843
@ -7,7 +7,6 @@ SCRIPTS= send-pr
|
|||||||
MAN= send-pr.1
|
MAN= send-pr.1
|
||||||
SUBMITTERS= current-users
|
SUBMITTERS= current-users
|
||||||
RELEASE= `uname -rsm`
|
RELEASE= `uname -rsm`
|
||||||
RELEASE_EV!= uname -rsm
|
|
||||||
CLEANFILES+= send-pr send-pr.el
|
CLEANFILES+= send-pr send-pr.el
|
||||||
|
|
||||||
SUBDIR+= doc
|
SUBDIR+= doc
|
||||||
@ -22,8 +21,9 @@ send-pr: send-pr.sh Makefile
|
|||||||
${.ALLSRC:N*Makefile} > ${.TARGET}
|
${.ALLSRC:N*Makefile} > ${.TARGET}
|
||||||
|
|
||||||
send-pr.el: send-pr-el.in Makefile
|
send-pr.el: send-pr-el.in Makefile
|
||||||
|
default_release=`uname -rsm`; \
|
||||||
sed -e 's,@DATADIR@,/etc,g' \
|
sed -e 's,@DATADIR@,/etc,g' \
|
||||||
-e 's/@DEFAULT_RELEASE@/$(RELEASE_EV)/g' \
|
-e "s/@DEFAULT_RELEASE@/$${default_release}/g" \
|
||||||
-e 's/"unknown"/"$(SUBMITTERS)"/g' \
|
-e 's/"unknown"/"$(SUBMITTERS)"/g' \
|
||||||
${.ALLSRC:N*Makefile} > ${.TARGET}
|
${.ALLSRC:N*Makefile} > ${.TARGET}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user