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.

Signed-off-by: Felix Mellmann <flix.ptxd...@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-requ...@pengutronix.de

Reply via email to