@@ -156,9 +156,10 @@ install-lib-2 install-lib-2-1 install-lib-4:
156156gacutil -i$(outdir )$(ASSEMBLY ) -root$(DESTDIR )$(libdir ) -package$(TARGET )
157157@iftest -e$(outdir ) Microsoft.FSharp.Targets; then \
158158$(INSTALL_LIB ) $(outdir ) Microsoft.FSharp.Targets$(DESTDIR )$(gacdir ) /$(TARGET ) /; \
159+ @mkdir -p$(tmpdir )
159160echo ' <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">' > $(tmpdir ) Microsoft.FSharp.Targets; \
160161echo ' <Import Project="$(DESTDIR)$(gacdir)/$(TARGET)/Microsoft.FSharp.Targets" />' >> $(tmpdir ) Microsoft.FSharp.Targets; \
161- echo ' </Project>' >> $(tmpdir ) Microsoft.FSharp.Targets; \
162+ echo ' </Project>' >> $(tmpdir ) Microsoft.FSharp.Targets; \
162163 mkdir -p$(DESTDIR )$(gacdir ) /Microsoft\ F#/v$(TARGET ) /; \
163164 mkdir -p$(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/3.0/Framework/v$(TARGET ) /; \
164165 mkdir -p$(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/3.1/Framework/v$(TARGET ) /; \
@@ -168,10 +169,8 @@ install-lib-2 install-lib-2-1 install-lib-4:
168169$(INSTALL_LIB ) $(tmpdir ) Microsoft.FSharp.Targets$(DESTDIR )$(gacdir ) /Microsoft\ F#/v$(TARGET ) /; \
169170$(INSTALL_LIB ) $(tmpdir ) Microsoft.FSharp.Targets$(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/3.0/Framework/v$(TARGET ) /; \
170171$(INSTALL_LIB ) $(tmpdir ) Microsoft.FSharp.Targets$(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/3.1/Framework/v$(TARGET ) /; \
171- $(INSTALL_LIB ) $(tmpdir ) Microsoft.FSharp.Targets$(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/3.2/Framework/v$(TARGET ) /; \
172172$(INSTALL_LIB ) $(tmpdir ) Microsoft.FSharp.Targets$(DESTDIR )$(gacdir ) /xbuild/Microsoft/VisualStudio/v/FSharp/; \
173173$(INSTALL_LIB ) $(tmpdir ) Microsoft.FSharp.Targets$(DESTDIR )$(gacdir ) /xbuild/Microsoft/VisualStudio/v12.0/FSharp/; \
174- $(INSTALL_LIB ) $(tmpdir ) Microsoft.FSharp.Targets$(DESTDIR )$(gacdir ) /xbuild/Microsoft/VisualStudio/v14.0/FSharp/; \
175174fi
176175@iftest -e$(outdir ) Microsoft.Portable.FSharp.Targets; then \
177176$(INSTALL_LIB ) $(outdir ) Microsoft.Portable.FSharp.Targets$(DESTDIR )$(gacdir ) /$(TARGET ) /; \
@@ -187,10 +186,8 @@ install-lib-2 install-lib-2-1 install-lib-4:
187186$(INSTALL_LIB ) $(tmpdir ) Microsoft.Portable.FSharp.Targets$(DESTDIR )$(gacdir ) /Microsoft\ F#/v$(TARGET ) /; \
188187$(INSTALL_LIB ) $(tmpdir ) Microsoft.Portable.FSharp.Targets$(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/3.0/Framework/v$(TARGET ) /; \
189188$(INSTALL_LIB ) $(tmpdir ) Microsoft.Portable.FSharp.Targets$(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/3.1/Framework/v$(TARGET ) /; \
190- $(INSTALL_LIB ) $(tmpdir ) Microsoft.Portable.FSharp.Targets$(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/3.2/Framework/v$(TARGET ) /; \
191189$(INSTALL_LIB ) $(tmpdir ) Microsoft.Portable.FSharp.Targets$(DESTDIR )$(gacdir ) /xbuild/Microsoft/VisualStudio/v/FSharp/; \
192190$(INSTALL_LIB ) $(tmpdir ) Microsoft.Portable.FSharp.Targets$(DESTDIR )$(gacdir ) /xbuild/Microsoft/VisualStudio/v12.0/FSharp/; \
193- $(INSTALL_LIB ) $(tmpdir ) Microsoft.Portable.FSharp.Targets$(DESTDIR )$(gacdir ) /xbuild/Microsoft/VisualStudio/v14.0/FSharp/; \
194191fi
195192@iftest -e$(outdir )$(NAME ) .xml; then \
196193$(INSTALL_LIB ) $(outdir )$(NAME ) .xml$(DESTDIR )$(gacdir ) /gac/$(NAME ) /$(VERSION ) __$(TOKEN ) ; \