From f51f629431a56c1a1f870deb24cfbcbf0c346f27 Mon Sep 17 00:00:00 2001 From: "David M. Syzdek" Date: Tue, 17 Jan 2023 14:01:58 -0900 Subject: autotools: adding install-exec-hook to automake --- Makefile.am | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile.am b/Makefile.am index de51d90..7708e3a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -314,6 +314,16 @@ git-clean: # local targets +install-exec-hook: + if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "hotp$(EXEEXT)";fi + if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "otp-md4$(EXEEXT)";fi + if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "otp-md5$(EXEEXT)";fi + if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "otp-sha1$(EXEEXT)";fi + if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "skey-md4$(EXEEXT)";fi + if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "skey-md5$(EXEEXT)";fi + if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "skey-sha1$(EXEEXT)";fi + if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "totp$(EXEEXT)";fi + install-exec-local: install-data-local: -- cgit v1.2.3