shithub: purgatorio

ref: 5edeca01b0622463a65c126ebcc29314013fd928
dir: /appl/cmd/mk/mksubdirs/

View raw version
all:V:	all-$SHELLTYPE
install:V: install-$SHELLTYPE
uninstall:V: uninstall-$SHELLTYPE
nuke:V: nuke-$SHELLTYPE
clean:V: clean-$SHELLTYPE

%-rc %-nt %-sh:QV:
	load std
	for j in $DIRS {
		if { ftest -d $j } {
			echo 'cd' $j '; mk' $MKFLAGS $stem
			cd $j; mk $MKFLAGS $stem; cd ..
		} {
			! ftest -e $j || raise $j^' not a directory'
		}
	}