diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2013-12-11 17:39:38 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2013-12-12 18:31:29 -0600 |
commit | 7b5fa011ac7a9544fe68a9abb2f8ef940d9845f7 (patch) | |
tree | b8c99079eac82e8c3a7c43b8d65585eb3b9a1f7f /src/rc/Makefile | |
parent | 09733d3fae77265263b1e918b9fce66a1c7a519a (diff) |
Rename the rc binary to openrc
Debian requested this rename due to the "rc" binary conflicting with the
"rc" binary from the plan 9 shell.
We also add a deprecation warning to the binary when it is run as rc to
encourage users to switch to openrc instead.
X-Gentoo-Bug: 493958
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=493958
Diffstat (limited to 'src/rc/Makefile')
-rw-r--r-- | src/rc/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rc/Makefile b/src/rc/Makefile index a2e638e8..209523ab 100644 --- a/src/rc/Makefile +++ b/src/rc/Makefile @@ -1,4 +1,4 @@ -PROG= rc +PROG= openrc SRCS= checkpath.c fstabinfo.c mountinfo.c start-stop-daemon.c \ rc-applets.c rc-depend.c rc-logger.c \ rc-misc.c rc-plugin.c rc-service.c rc-status.c rc-update.c \ @@ -11,7 +11,7 @@ SBINDIR= ${PREFIX}/sbin LINKDIR= ${LIBEXECDIR} BINLINKS= rc-status -SBINLINKS= rc-service rc-update runscript service start-stop-daemon +SBINLINKS= rc rc-service rc-update runscript service start-stop-daemon RC_BINLINKS= einfon einfo ewarnn ewarn eerrorn eerror ebegin eend ewend \ eindent eoutdent esyslog eval_ecolors ewaitfile \ veinfo vewarn vebegin veend vewend veindent veoutdent \ @@ -90,5 +90,5 @@ install: all check test:: -links: rc - $(call make-links,${ALL_LINKS},rc,.) +links: $PROG + $(call make-links,${ALL_LINKS},$PROG,.) |