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

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