Index: Makefile.in =================================================================== diff -u -rcea7988c4160dc795dabc31324eb52f2806415ec -r92e6424562685bcc3665bf23dfcdc3ee489c25ef --- Makefile.in (.../Makefile.in) (revision cea7988c4160dc795dabc31324eb52f2806415ec) +++ Makefile.in (.../Makefile.in) (revision 92e6424562685bcc3665bf23dfcdc3ee489c25ef) @@ -271,10 +271,14 @@ install-binaries: binaries install-lib-binaries install-bin-binaries install-pkgIndex install-aol: install-binaries install-libraries install-xotcl-libraries - $(INSTALL) $(src_generic_dir)/aol-xotcl.tcl \ - $(DESTDIR)/$(aol_prefix)/tcl/xotcl.tcl + @if test -d $(DESTDIR)/$(aol_prefix)/modules/tcl/; then \ + $(INSTALL) $(src_generic_dir)/aol-xotcl.tcl \ + $(DESTDIR)/$(aol_prefix)/modules/tcl/xotcl.tcl ; \ + else \ + $(INSTALL) $(src_generic_dir)/aol-xotcl.tcl \ + $(DESTDIR)/$(aol_prefix)/tcl/xotcl.tcl ; \ + fi; - #======================================================================== # This rule installs platform-independent files, such as header files. #======================================================================== @@ -343,7 +347,7 @@ chmod 755 $(DESTDIR)$(xotcl_pkglibdir)/$$j; \ for k in $$j/* ; do \ $(INSTALL) $$k $(DESTDIR)$(xotcl_pkglibdir)/$$j ; \ - done; \ + done; \ else \ $(INSTALL) $$j $(DESTDIR)$(xotcl_pkglibdir)/apps/$$i/; \ fi; \