diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-08-11 13:50:41 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-08-11 13:50:41 -0700 |
commit | b4dcc6fbfcadec975eb1ca346e090e04706df231 (patch) | |
tree | a768c9cb255fd5db3ab6cd4d635f61bf2402385c /Makefile.am | |
parent | 9221f51919bebe5f132dfc5bcf4c40314ecd2fa4 (diff) | |
download | vyatta-cfg-b4dcc6fbfcadec975eb1ca346e090e04706df231.tar.gz vyatta-cfg-b4dcc6fbfcadec975eb1ca346e090e04706df231.zip |
add symlink for shell API binary
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/Makefile.am b/Makefile.am index a424d2f..86db597 100644 --- a/Makefile.am +++ b/Makefile.am @@ -102,14 +102,17 @@ install-exec-hook: mkdir -p $(DESTDIR)$(commit_run_dir) mkdir -p $(DESTDIR)$(etc_shell_leveldir) cd etc/shell/level; $(cpiop) $(DESTDIR)$(etc_shell_leveldir) - cd $(DESTDIR)/opt/vyatta/sbin; \ - ln -sf my_cli_bin my_set; \ - ln -sf my_cli_bin my_delete; \ - ln -sf my_cli_bin my_activate; \ - ln -sf my_cli_bin my_deactivate; \ - ln -sf my_cli_bin my_rename; \ - ln -sf my_cli_bin my_copy; \ - ln -sf my_cli_bin my_comment; \ - ln -sf my_cli_bin my_discard; \ - ln -sf my_cli_bin my_move + cd $(DESTDIR)$(sbindir); \ + $(LN_S) my_cli_bin my_set; \ + $(LN_S) my_cli_bin my_delete; \ + $(LN_S) my_cli_bin my_activate; \ + $(LN_S) my_cli_bin my_deactivate; \ + $(LN_S) my_cli_bin my_rename; \ + $(LN_S) my_cli_bin my_copy; \ + $(LN_S) my_cli_bin my_comment; \ + $(LN_S) my_cli_bin my_discard; \ + $(LN_S) my_cli_bin my_move + mkdir -p $(DESTDIR)/bin + cd $(DESTDIR)/bin ; \ + $(LN_S) $(sbindir)/my_cli_shell_api cli-shell-api |