--- tcl/Makefile.am 2015-02-04 02:49:24.000000000 +0100 +++ tcl/Makefile_new.am 2015-10-26 17:53:44.914291480 +0100 @@ -1,9 +1,9 @@ tcl_SCRIPTS = *.tcl -tcldir = $(DESTDIR)$(libdir)/Snowmix-@SNOWMIX_VERSION@/tcl +tcldir = $(libdir)/Snowmix-@SNOWMIX_VERSION@/tcl install-exec-hook: - $(MKDIR_P) $(tcldir) && \ - cd $(tcldir) && \ + $(MKDIR_P) $(DESTDIR)$(tcldir) && \ + cd $(DESTDIR)$(tcldir) && \ $(LN_S) -f ../images/tcl_images images && \ cd $(DESTDIR)$(bindir) && \ $(LN_S) -f ../lib/Snowmix-$(VERSION)/tcl/snowcub.tcl