mirror of
https://github.com/elliotnunn/mac-rom.git
synced 2024-12-27 10:29:32 +00:00
bbe9f79aaf
The DeRezzed files in Misc (*.rsrc and GoNativeResources) will be Rezzed from their own data forks when EasyBuild notices that they have an empty resource fork.
16 lines
544 B
Plaintext
16 lines
544 B
Plaintext
Set MAKE_FILE :Make:RISC.make
|
|
Set MAKE_OUT :BuildResults:RISC:Text:MakeFile
|
|
|
|
Set Parent "`Files -f "{0}" | StreamEdit -d -e '/((Å:)*)¨1([Â:]*)/ Print ¨1'`"
|
|
SetDirectory "{Parent}"
|
|
|
|
Set AllMiscRsrcFiles "`WhereIs -s :Misc .rsrc` `WhereIs -s :Misc GoNativeResources`" # quoted for us!
|
|
|
|
For ToRez in `Files -n -x r {AllMiscRsrcFiles} | StreamEdit -d -e "/(Å)¨1 0b°/ Print ¨1"`
|
|
Echo EasyBuild: Rezzing (once-off) "{ToRez}"
|
|
Rez -t rsrc -c RSED -o "{ToRez}" "{ToRez}"
|
|
End
|
|
|
|
Make -w -d Sources=: -f "{MAKE_FILE}" RomMondo > "{MAKE_OUT}"
|
|
"{MAKE_OUT}"
|