-#!/bin/bash
+#!/bin/sh
# NSC -- Makefile & Config file build script
-# (c) 1997--2003 Martin Mares <mj@ucw.cz>
+# (c) 1997--2019 Martin Mares <mj@ucw.cz>
set -e
exit 1
fi
+mkdir -p zone bak hash ver keys khash dss tmp
$M4 m4/mkconf.m4 $DOMAINS >named.conf
-$M4 m4/mkmf.m4 $DOMAINS >Makefile -DM4=$M4
+$M4 m4/mkmf.m4 $DOMAINS >Makefile
+$M4 -DM4=$M4 m4/mkshell-env.m4 >bin/shell-env