summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index bd811aa..f7c14b0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,14 +24,14 @@ LDADD = src/libvyatta-cfg.la
LDADD += /usr/lib/libglib-2.0.la
-sbin_PROGRAMS = src/my_commit
+sbin_PROGRAMS = src/my_commit1
sbin_PROGRAMS += src/my_commit2
sbin_PROGRAMS += src/exe_action
sbin_PROGRAMS += src/dump
sbin_PROGRAMS += src/my_delete
sbin_PROGRAMS += src/my_set
sbin_PROGRAMS += src/check_tmpl
-src_my_commit_SOURCES = src/commit.c
+src_my_commit1_SOURCES = src/commit.c
src_my_commit2_SOURCES = src/commit2.c
src_my_commit2_SOURCES += src/common/common.c
src_my_commit2_SOURCES += src/common/unionfs.c
@@ -76,3 +76,5 @@ install-exec-hook:
cd templates; $(cpiop) $(DESTDIR)$(cfgdir)
mkdir -p $(DESTDIR)$(etc_shell_leveldir)
cd etc/shell/level; $(cpiop) $(DESTDIR)$(etc_shell_leveldir)
+ cd $(DESTDIR)/opt/vyatta/sbin; ln -s my_commit1 my_commit
+ \ No newline at end of file