; installer for `nroff'
; Copyright (c) 2004 Kalle Räisänen.

If NOT EXISTS usr:
	If NOT EXISTS SYS:usr
		MakeDir SYS:usr
	EndIf
	Assign USR: SYS:usr
EndIf


If NOT EXISTS USR:lib
	MakeDir USR:lib
EndIf

If NOT EXISTS USR:lib/tmac
	MakeDir USR:lib/tmac
EndIf

If NOT EXISTS USR:bin
	MakeDir USR:bin
EndIf

Copy strip_roff nroff USR:bin QUIET
Copy src/tmac/tmac.#? USR:lib/tmac ALL QUIET

Echo "*N*NAssign USR: SYS:usr" >> S:User-Startup
Echo "Path USR:bin ADD*N"      >> S:User-Startup

Path USR:bin ADD
