Commit d077478f d077478fc992b21922d4da453d3d02bc1e4a62c6 by Sergey Poznyakoff

Enble install-exec-hook only if BUILD_MH_EXEC_HOOK is set.

1 parent 555be173
......@@ -60,6 +60,11 @@ repl_LDADD = $(mh_LIBS)
AM_YFLAGS=-vt
install-exec-hook:
-rm -f $(DESTDIR)$(bindir)/folders
$(LN_S) $(DESTDIR)$(bindir)/folder $(DESTDIR)$(bindir)/folders
install-exec-hook: @BUILD_MH_EXEC_HOOK@
mh_finish_install:
@here=`pwd`; \
cd $(DESTDIR); \
-rm -f $(bindir)/folders; \
$(LN_S) $(bindir)/folder $(bindir)/folders; \
cd $$here
......