; Make the Erase distribution
; (to get out from the commands, remove all "QUIET", ">NIL:" and "q" flags)
;
failat 21
;
; cleanup
delete >NIL: #?.o #?.lnk QUIET
delete >NIL: T:Erase#? ALL QUIET
;
;
; Make temp dir in T:
makedir T:Erase
;
; copy files
Copy Erase.guide#? Erase #?.txt #?.readme ALL TO T:Erase QUIET
Copy /Erase.info Erase.readme FILE_ID.DIZ TO T: QUIET
;
; Change the version and date in files
Version Erase >ENV:EVER
Assign edfew: ""
cd ENV:
splat -o "Erase " "" "EVER"
cd T:Erase
splat -o "<<VERSION>>" "$EVER" "Erase.Guide Erase.readme /Erase.readme /FILE_ID.DIZ"
cd edfew:
Assign edfew: REMOVE
;
; archives
lha -arxzq a T:Erase/src.lha #?.c SCOPTIONS #?make#?
lha -arxZq a T:Erase.lha t:Erase t:erase.info t:FILE_ID.DIZ S:Contact
;
;
; cleanup
delete T:Erase T:Erase.info ALL QUIET
;
