commit 47ef99525ea8442d61e136ab3f809025fc57a880 parent f63b6ec11153ee4105110962826d4a503161b12a Author: tgoodwin <tgoodwin> Date: Fri, 13 Feb 1998 12:04:25 +0000 remove version.c tidy up history install Diffstat:
M | Makefile.am | | | 20 | ++++++++------------ |
1 file changed, 8 insertions(+), 12 deletions(-)
diff --git a/Makefile.am b/Makefile.am @@ -11,7 +11,7 @@ endif bin_PROGRAMS = rc noinst_PROGRAMS = $(HISTBIN) -rc_SOURCES = @ADDON@ builtins.c except.c exec.c execve.c fn.c footobar.c getopt.c glob.c glom.c hash.c heredoc.c input.c lex.c list.c main.c match.c nalloc.c open.c print.c redir.c sigmsgs.c signal.c status.c tree.c utils.c var.c version.c wait.c walk.c which.c y.tab.c +rc_SOURCES = @ADDON@ builtins.c except.c exec.c execve.c fn.c footobar.c getopt.c glob.c glom.c hash.c heredoc.c input.c lex.c list.c main.c match.c nalloc.c open.c print.c redir.c sigmsgs.c signal.c status.c tree.c utils.c var.c wait.c walk.c which.c y.tab.c history_SOURCES = history.c @@ -33,14 +33,10 @@ trip: rc ./rc -p < $(srcdir)/trip.rc install-exec-hook: - case "x@HISTORY@" in \ - x) \ - ;; \ - *) \ - $(LN) $(HISTORY) - ;\ - $(INSTALL_PROGRAM) - $(bindir) ;\ - $(LN) $(bindir)/- $(bindir)/-- ;\ - $(LN) $(bindir)/- $(bindir)/-p ;\ - $(LN) $(bindir)/- $(bindir)/--p ;\ - ;; \ - esac +if HISTORY + $(LN) $(HISTORY) - ;\ + $(INSTALL_PROGRAM) - $(bindir) ;\ + rm -f $(bindir)/--; $(LN) $(bindir)/- $(bindir)/-- ;\ + rm -f $(bindir)/-p; $(LN) $(bindir)/- $(bindir)/-p ;\ + rm -f $(bindir)/--p; $(LN) $(bindir)/- $(bindir)/--p +endif