build improvements (no binary changes)

This commit is contained in:
4am 2024-06-10 00:00:01 -04:00
parent 5c8a89ecde
commit 91e189c885

View File

@ -78,12 +78,7 @@ extract: preconditions md gamesconf
$(PARALLEL) '$(CADIUS) EXTRACTVOLUME {} build/X/ >>build/log' ::: res/dsk/*.po
rm -f build/X/**/.DS_Store build/X/**/PRODOS* build/X/**/LOADER.SYSTEM* build/X/**/_FileInformation.txt
for f in $$(grep '^....1' build/GAMES.CONF | awk '!/^$$|^#/' | awk -F, '/,/ { print $$2 }' | awk -F= '{ print $$1 }'); do mv build/X/"$$(basename $$f)"/"$$(basename $$f)"* build/X.INDEXED/; rm -rf build/X/"$$(basename $$f)"; done
for d in build/X/*; do \
for f in "$$d"/*; do \
mv "$$f" build/X/"$$(basename $$f)"; \
done; \
rmdir "$$d"; \
done
for d in build/X/*; do mv "$$d"/* build/X/; rmdir "$$d"; done
index: preconditions md asmfx asmprelaunch asmdemo compress extract
#