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 | |
parent | 9221f51919bebe5f132dfc5bcf4c40314ecd2fa4 (diff) | |
download | vyatta-cfg-b4dcc6fbfcadec975eb1ca346e090e04706df231.tar.gz vyatta-cfg-b4dcc6fbfcadec975eb1ca346e090e04706df231.zip |
add symlink for shell API binary
-rw-r--r-- | Makefile.am | 23 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | debian/vyatta-cfg.install | 1 |
3 files changed, 15 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 diff --git a/configure.ac b/configure.ac index 0a8b77b..04210fd 100644 --- a/configure.ac +++ b/configure.ac @@ -22,6 +22,7 @@ AM_PROG_CC_C_O AC_PROG_LIBTOOL AC_PROG_LEX AC_PROG_YACC +AC_PROG_LN_S AC_ARG_ENABLE([nostrip], AC_HELP_STRING([--enable-nostrip], diff --git a/debian/vyatta-cfg.install b/debian/vyatta-cfg.install index 5c1fdb4..b2385da 100644 --- a/debian/vyatta-cfg.install +++ b/debian/vyatta-cfg.install @@ -2,3 +2,4 @@ etc opt/vyatta/share/enumeration opt/vyatta/sbin opt/vyatta/etc +bin |