Send a newline to the dh_make's standard input or check if it accepts some commandline switch that makes it run in batch mode.