From f92670dfbf287fdf14df44f5f6e642cb956b4510 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 20 May 2013 13:32:34 -0500 Subject: [PATCH] Add imagex symlink on UNIX --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 45a85af8..87f87982 100644 --- a/Makefile.am +++ b/Makefile.am @@ -155,11 +155,13 @@ endif install-exec-hook: if [ "@IMAGEX_PROGNAME@" != imagex ]; then \ cd $(DESTDIR)$(bindir) && mv -f imagex "@IMAGEX_PROGNAME@"; \ + cd $(DESTDIR)$(bindir) && ln -s "@IMAGEX_PROGNAME@" imagex; \ fi uninstall-hook: if [ "@IMAGEX_PROGNAME@" != imagex ]; then \ cd $(DESTDIR)$(bindir) && rm -f "@IMAGEX_PROGNAME@"; \ + cd $(DESTDIR)$(bindir) && rm -f imagex; \ fi dist_bin_SCRIPTS = programs/mkwinpeimg -- 2.43.0