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) ...@@ -60,6 +60,11 @@ repl_LDADD = $(mh_LIBS)
60 60
61 AM_YFLAGS=-vt 61 AM_YFLAGS=-vt
62 62
63 install-exec-hook: 63 install-exec-hook: @BUILD_MH_EXEC_HOOK@
64 -rm -f $(DESTDIR)$(bindir)/folders 64
65 $(LN_S) $(DESTDIR)$(bindir)/folder $(DESTDIR)$(bindir)/folders 65 mh_finish_install:
66 @here=`pwd`; \
67 cd $(DESTDIR); \
68 -rm -f $(bindir)/folders; \
69 $(LN_S) $(bindir)/folder $(bindir)/folders; \
70 cd $$here
......