aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am5
-rw-r--r--configure.in1
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 0950d24..4e87cab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,6 +13,11 @@ powwow_HEADERS = beam.h cmd.h log.h edit.h cmd2.h eval.h \
powwow_muc_SOURCES = powwow-muc.c
powwow_movieplay_SOURCES = powwow-movieplay.c
+install-exec-hook:
+ (cd $(DESTDIR)$(bindir) && \
+ rm -f powwow-movie2ascii$(EXEEXT) && \
+ $(LN_S) powwow-movieplay$(EXEEXT) powwow-movie2ascii$(EXEEXT))
+
noinst_PROGRAMS = catrw follow
follow_SOURCES = follow.c
catrw_SOURCES = catrw.c
diff --git a/configure.in b/configure.in
index 5e9e53b..d22f918 100644
--- a/configure.in
+++ b/configure.in
@@ -75,6 +75,7 @@ AM_CONDITIONAL([MAN_PAGE_ENCODING_IS_UTF_8],
# Checks for programs.
AC_PROG_CC
+AC_PROG_LN_S
# Checks for libraries.
AC_SEARCH_LIBS(initscr,[ncurses curses])