--- trunk/OOPSE-4/make/Makefile.in 2005/11/18 17:50:17 2456 +++ trunk/OOPSE-4/make/Makefile.in 2005/11/18 20:17:14 2457 @@ -420,6 +420,10 @@ endif InstallFiles = $(Executable) endif InstallCommand = $(InstallProgram) + ifneq "$(words $(LinkTargets))" "0" + MyLinkSource = $(patsubst %, $(MyInstallDir)/%,$(Main)) + MyLinkTargets = $(patsubst %, $(MyInstallDir)/%,$(LinkTargets)) + endif endif ifneq "$(words $(ForcefieldFiles))" "0" @@ -815,10 +819,9 @@ _installlinks : $(MyInstallDir) endif _installlinks : $(MyInstallDir) - $(Print) $(LinkTargets) -ifneq "$(words $(LinkTargets))" "0" +ifneq "$(words $(MyLinkTargets))" "0" @cd $(MyInstallDir) - $(foreach thisLink,$(LinkTargets),$(call do_link,$(Executable),$(thisLink))) + $(foreach thisLink,$(MyLinkTargets),$(call do_link,$(MyLinkSource),$(thisLink))) endif # make statistics