@@ -301,6 +301,7 @@ RUNTIME_HDR := rt/globals.h \
301
301
rt/util/hash_map.h \
302
302
rt/sync/sync.h \
303
303
rt/sync/timer.h \
304
+ rt/sync/lock_and_signal.h \
304
305
rt/sync/lock_free_queue.h \
305
306
rt/rust_srv.h \
306
307
rt/rust_kernel.h \
@@ -944,14 +945,16 @@ PKG_FILES :=\
944
945
$(RUNTIME_CS ) $(RUNTIME_HDR ) \
945
946
$(LLVMEXT_CS ) $(LLVMEXT_HDR ) \
946
947
$(PKG_3RDPARTY ) ) \
948
+ $(GENERATED ) \
949
+ $(S ) src/boot/fe/lexer.ml \
947
950
$(COMPILER_INPUTS ) \
948
951
$(STDLIB_INPUTS ) \
949
952
$(ALL_TEST_INPUTS ) \
950
953
$(GENERATED )
951
954
952
955
dist : $(PKG_TAR )
953
956
954
- $(PKG_TAR ) :
957
+ $(PKG_TAR ) : $( GENERATED )
955
958
@$(call E, making dist dir)
956
959
$(Q ) rm -Rf dist
957
960
$(Q ) mkdir -p dist/$(PKG_DIR )
@@ -960,9 +963,12 @@ $(PKG_TAR):
960
963
$(Q ) rm -Rf dist
961
964
962
965
distcheck : $(PKG_TAR )
963
- $(Q ) tar -c $(PKG_FILES ) | tar -x -C dist/$(PKG_DIR )
966
+ $(Q ) rm -Rf dist
967
+ $(Q ) mkdir -p dist
968
+ @$(call E, unpacking $(PKG_TAR ) in dist/$(PKG_DIR ) )
969
+ $(Q ) cd dist && tar -xzf ../$(PKG_TAR )
964
970
@$(call E, configuring in dist/$(PKG_DIR ) -build)
965
- $(Q ) mkdir -p dist/build
971
+ $(Q ) mkdir -p dist/$( PKG_DIR ) - build
966
972
$(Q ) cd dist/$(PKG_DIR ) -build && ../$(PKG_DIR ) /configure
967
973
@$(call E, making 'check' in dist/$(PKG_DIR ) -build)
968
974
$(Q ) make -C dist/$(PKG_DIR ) -build check
@@ -984,7 +990,7 @@ distcheck: $(PKG_TAR)
984
990
tidy :
985
991
@$(call E, check: formatting)
986
992
$(Q ) python $(S ) src/etc/tidy.py \
987
- $(filter-out $(GENERATED) \
993
+ $(filter-out $(GENERATED) $(addprefix $(S)src/, $(GENERATED)) \
988
994
$(addprefix $(S)src/, $(LLVMEXT_CS) $(LLVMEXT_HDR) $(PKG_3RDPARTY)) \
989
995
$(S)src/etc/%, $(PKG_FILES))
990
996
0 commit comments