@@ -149,11 +149,11 @@ install-lib-2 install-lib-2-1 install-lib-4:
149149@iftest -e$(outdir ) Microsoft.FSharp.targets; then \
150150 mkdir -p$(DESTDIR )$(monodir ) /Microsoft\ F#/v$(TARGET ) /; \
151151 mkdir -p$(DESTDIR )$(monodir ) /Microsoft\ SDKs/F#/3.0/Framework/v$(TARGET ) /; \
152- ln -fs$( DESTDIR )$( monodir ) /$(TARGET ) /$(ASSEMBLY ) $(DESTDIR )$(monodir ) /Microsoft\ F#/v$(TARGET ) /$(ASSEMBLY ) ; \
153- ln -fs$( DESTDIR )$( monodir ) /$(TARGET ) /$(ASSEMBLY ) $(DESTDIR )$(monodir ) /Microsoft\ SDKs/F#/3.0/Framework/v$(TARGET ) /$(ASSEMBLY ) ; \
152+ ln -fs../.. /$(TARGET ) /$(ASSEMBLY ) $(DESTDIR )$(monodir ) /Microsoft\ F#/v$(TARGET ) /$(ASSEMBLY ) ; \
153+ ln -fs../../../../.. /$(TARGET ) /$(ASSEMBLY ) $(DESTDIR )$(monodir ) /Microsoft\ SDKs/F#/3.0/Framework/v$(TARGET ) /$(ASSEMBLY ) ; \
154154$(INSTALL_LIB ) $(outdir ) Microsoft.FSharp.targets$(DESTDIR )$(monodir ) /$(TARGET ) /; \
155- ln -fs$( DESTDIR )$( monodir ) /$(TARGET ) /Microsoft.FSharp.targets$(DESTDIR )$(monodir ) /Microsoft\ F#/v$(TARGET ) /Microsoft.FSharp.targets; \
156- ln -fs$( DESTDIR )$( monodir ) /$(TARGET ) /Microsoft.FSharp.targets$(DESTDIR )$(monodir ) /Microsoft\ SDKs/F#/3.0/Framework/v$(TARGET ) /Microsoft.FSharp.targets; \
155+ ln -fs../.. /$(TARGET ) /Microsoft.FSharp.targets$(DESTDIR )$(monodir ) /Microsoft\ F#/v$(TARGET ) /Microsoft.FSharp.targets; \
156+ ln -fs../../../../.. /$(TARGET ) /Microsoft.FSharp.targets$(DESTDIR )$(monodir ) /Microsoft\ SDKs/F#/3.0/Framework/v$(TARGET ) /Microsoft.FSharp.targets; \
157157fi
158158@iftest -e$(outdir )$(NAME ) .xml; then \
159159$(INSTALL_LIB ) $(outdir )$(NAME ) .xml$(DESTDIR )$(monodir ) /gac/$(NAME ) /$(VERSION ) __$(TOKEN ) ; \
@@ -170,18 +170,18 @@ install-lib-2 install-lib-2-1 install-lib-4:
170170
171171install-lib-4-5 : install-lib-4
172172@iftest -e$(DESTDIR )$(monodir ) /4.5/; then \
173- ln -fs$( DESTDIR )$( monodir ) /4.0/$(ASSEMBLY ) $(DESTDIR )$(monodir ) /4.5/$(ASSEMBLY ) ; \
173+ ln -fs.. /4.0/$(ASSEMBLY ) $(DESTDIR )$(monodir ) /4.5/$(ASSEMBLY ) ; \
174174if test -e$( DESTDIR) $( monodir) /4.0/$( ASSEMBLY) .config; then \
175- ln -fs$( DESTDIR )$( monodir ) /4.0/$(ASSEMBLY ) .config$(DESTDIR )$(monodir ) /4.5/$(ASSEMBLY ) .config; \
175+ ln -fs.. /4.0/$(ASSEMBLY ) .config$(DESTDIR )$(monodir ) /4.5/$(ASSEMBLY ) .config; \
176176fi ; \
177177if test -e$( DESTDIR) $( monodir) /4.0/$( NAME) .sigdata; then \
178- ln -fs$( DESTDIR )$( monodir ) /4.0/$(NAME ) .sigdata$(DESTDIR )$(monodir ) /4.5/$(NAME ) .sigdata; \
178+ ln -fs.. /4.0/$(NAME ) .sigdata$(DESTDIR )$(monodir ) /4.5/$(NAME ) .sigdata; \
179179fi ; \
180180if test -e$( DESTDIR) $( monodir) /4.0/$( NAME) .xml; then \
181- ln -fs$( DESTDIR )$( monodir ) /4.0/$(NAME ) .xml$(DESTDIR )$(monodir ) /4.5/$(NAME ) .xml; \
181+ ln -fs.. /4.0/$(NAME ) .xml$(DESTDIR )$(monodir ) /4.5/$(NAME ) .xml; \
182182fi ; \
183183if test -e$( DESTDIR) $( monodir) /4.0/$( NAME) .optdata; then \
184- ln -fs$( DESTDIR )$( monodir ) /4.0/$(NAME ) .optdata$(DESTDIR )$(monodir ) /4.5/$(NAME ) .optdata; \
184+ ln -fs.. /4.0/$(NAME ) .optdata$(DESTDIR )$(monodir ) /4.5/$(NAME ) .optdata; \
185185fi ; \
186186fi
187187