From a01f20a624be93f765a0e9d0f69ad8726012adad Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 23 Oct 2021 15:00:01 +0200 Subject: [PATCH] nlab: creating symlink from $(LUAPLUGINDIR) to $(bindir) Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/25e2b9ab0966519d5300b2d984e98222778cc167 Author: vanhofen Date: 2021-10-23 (Sat, 23 Oct 2021) Origin message was: ------------------ - nlab: creating symlink from $(LUAPLUGINDIR) to $(bindir) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- data/luaplugins/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/luaplugins/Makefile.am b/data/luaplugins/Makefile.am index cd46ee79f..f077b0d9a 100644 --- a/data/luaplugins/Makefile.am +++ b/data/luaplugins/Makefile.am @@ -2,3 +2,9 @@ installdir = $(LUAPLUGINDIR) install_SCRIPTS = \ nlab.lua + +install-data-hook: + ln -sf $(LUAPLUGINDIR)/nlab.lua $(DESTDIR)$(bindir)/nlab + +uninstall-hook: + rm -f $(DESTDIR)$(bindir)/nlab