#!/bin/sh -eu
# A target built by a dofile built during the build must be built.

test -e a.do && rm a.do
test -e a && rm a

>a.do.do cat <<DODO
cat <<DO
date +%s
DO
DODO

redo a.do
redo a

test -e a.do
test -e a
