diff options
| author | David M. Syzdek <david@syzdek.net> | 2023-01-17 14:01:58 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2023-01-17 14:01:58 -0900 |
| commit | f51f629431a56c1a1f870deb24cfbcbf0c346f27 (patch) | |
| tree | 35264d2cd3d9e9f62b1a718deabef69752490373 | |
| parent | 82ac51a3a3299a3c76c0a60b1fd227102dda9833 (diff) | |
| download | otputils-f51f629431a56c1a1f870deb24cfbcbf0c346f27.tar.gz otputils-f51f629431a56c1a1f870deb24cfbcbf0c346f27.tar.bz2 otputils-f51f629431a56c1a1f870deb24cfbcbf0c346f27.tar.xz otputils-f51f629431a56c1a1f870deb24cfbcbf0c346f27.zip | |
autotools: adding install-exec-hook to automake
| -rw-r--r-- | Makefile.am | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index de51d90..7708e3a 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -314,6 +314,16 @@ git-clean: | |||
| 314 | 314 | ||
| 315 | 315 | ||
| 316 | # local targets | 316 | # local targets |
| 317 | install-exec-hook: | ||
| 318 | if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "hotp$(EXEEXT)";fi | ||
| 319 | if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "otp-md4$(EXEEXT)";fi | ||
| 320 | if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "otp-md5$(EXEEXT)";fi | ||
| 321 | if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "otp-sha1$(EXEEXT)";fi | ||
| 322 | if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "skey-md4$(EXEEXT)";fi | ||
| 323 | if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "skey-md5$(EXEEXT)";fi | ||
| 324 | if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "skey-sha1$(EXEEXT)";fi | ||
| 325 | if test -x "$(DESTDIR)$(bindir)/otputil";then cd "$(DESTDIR)$(bindir)" && ln -sf "otputil$(EXEEXT)" "totp$(EXEEXT)";fi | ||
| 326 | |||
| 317 | install-exec-local: | 327 | install-exec-local: |
| 318 | 328 | ||
| 319 | install-data-local: | 329 | install-data-local: |
