When basic.exe isn't in DISTFILES, it gets excluded from `make dist`
authorJo Shields <jo.shields@xamarin.com>
Mon, 3 Oct 2016 19:08:17 +0000 (20:08 +0100)
committerJo Shields <jo.shields@xamarin.com>
Mon, 3 Oct 2016 19:08:17 +0000 (20:08 +0100)
mcs/class/Makefile

index f8f0b0a9396c0061111da1316a13812edea6936a..45d9d4b4c832a289bd4571791ea34eb9a15cd67a 100644 (file)
@@ -344,6 +344,7 @@ DISTFILES = \
        MicrosoftAjaxLibrary/License.htm        \
        test-helpers/NetworkHelpers.cs  \
        test-helpers/SocketResponder.cs \
+       lib/$(monolite_dir)/basic.exe   \
        $(monolite_files)
 
 .PHONY: all-local $(STD_TARGETS:=-local)
@@ -376,11 +377,13 @@ $(monolite_files): | lib/$(monolite_dir)/Facades
 $(monolite_files): lib/$(monolite_dir)/%: lib/build/%
        cp -p $< $@
 
+lib/$(monolite_dir)/basic.exe:
+       cp -p lib/basic/basic.exe lib/$(monolite_dir)
+
 $(build_files:%=lib/build/%):
        cd $(topdir) && $(MAKE) profile-do--build--all NO_DIR_CHECK=1 SKIP_AOT=1
 
-dist-monolite: $(monolite_files)
-       cp -p lib/basic/basic.exe lib/$(monolite_dir)
+dist-monolite: $(monolite_files) lib/$(monolite_dir)/basic.exe
 
 dist-default: dist-monolite