mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] mc: install additional symbolic links to the target
@ 2021-05-31 13:44 Felix Mellmann
  2021-06-16 10:35 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Mellmann @ 2021-05-31 13:44 UTC (permalink / raw)
  To: ptxdist; +Cc: Felix Mellmann

The midnight commander allows to call internal tools by using their
apropriate name. By adding symbolic links these tool are accessible
from the command line. Some users may appreciate using i.e. mcedit
directly without the need to start a midnight commander session.

Signed-off-by: Felix Mellmann <flix.ptxdist@benfm.de>
---
 rules/mc.make | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/rules/mc.make b/rules/mc.make
index 67fc61690..9335e9d0b 100644
--- a/rules/mc.make
+++ b/rules/mc.make
@@ -71,6 +71,10 @@ $(STATEDIR)/mc.targetinstall:
 	@$(call install_fixup, mc,DESCRIPTION,missing)
 
 	@$(call install_copy, mc, 0, 0, 0755, -, /usr/bin/mc)
+	@$(call install_link, mc, mc, /usr/bin/mcdiff)
+	@$(call install_link, mc, mc, /usr/bin/mcedit)
+	@$(call install_link, mc, mc, /usr/bin/mcview)
+
 	@$(call install_alternative_tree, mc, 0, 0, /etc/mc)
 	@$(call install_tree, mc, 0, 0, -, /usr/share/mc/skins)
 
-- 
2.25.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] mc: install additional symbolic links to the target
  2021-05-31 13:44 [ptxdist] [PATCH] mc: install additional symbolic links to the target Felix Mellmann
@ 2021-06-16 10:35 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2021-06-16 10:35 UTC (permalink / raw)
  To: ptxdist; +Cc: Felix Mellmann

Thanks, applied as 7d01b1558f2e80f12901b1440e2024e8d4ebbcaf.

Michael

[sent from post-receive hook]

On Wed, 16 Jun 2021 12:35:05 +0200, Felix Mellmann <flix.ptxdist@benfm.de> wrote:
> The midnight commander allows to call internal tools by using their
> apropriate name. By adding symbolic links these tool are accessible
> from the command line. Some users may appreciate using i.e. mcedit
> directly without the need to start a midnight commander session.
> 
> Signed-off-by: Felix Mellmann <flix.ptxdist@benfm.de>
> Message-Id: <20210531134429.221474-1-flix.ptxdist@benfm.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/mc.make b/rules/mc.make
> index 67fc616906e0..9335e9d0b74a 100644
> --- a/rules/mc.make
> +++ b/rules/mc.make
> @@ -71,6 +71,10 @@ $(STATEDIR)/mc.targetinstall:
>  	@$(call install_fixup, mc,DESCRIPTION,missing)
>  
>  	@$(call install_copy, mc, 0, 0, 0755, -, /usr/bin/mc)
> +	@$(call install_link, mc, mc, /usr/bin/mcdiff)
> +	@$(call install_link, mc, mc, /usr/bin/mcedit)
> +	@$(call install_link, mc, mc, /usr/bin/mcview)
> +
>  	@$(call install_alternative_tree, mc, 0, 0, /etc/mc)
>  	@$(call install_tree, mc, 0, 0, -, /usr/share/mc/skins)
>  

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-16 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31 13:44 [ptxdist] [PATCH] mc: install additional symbolic links to the target Felix Mellmann
2021-06-16 10:35 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox