X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=bin%2Fnsconfig;h=229dc3619f12ca8bec5d4e88866f219911d1eef0;hb=d3916f203c55db59c5f63f697d4c0c7cc7e004c1;hp=14d34ed8431183789ac9c0c777b902a235f20e37;hpb=94b06f4a7da72fa07f4aa0536f80c6e65a7813f6;p=nsc-5.git diff --git a/bin/nsconfig b/bin/nsconfig index 14d34ed..229dc36 100755 --- a/bin/nsconfig +++ b/bin/nsconfig @@ -1,6 +1,6 @@ #!/bin/sh # NSC -- Makefile & Config file build script -# (c) 1997--2008 Martin Mares +# (c) 1997--2019 Martin Mares set -e @@ -12,7 +12,7 @@ if [ ! -f $DOMAINS ] ; then 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 -$M4 -DM4=$M4 m4/mkgenzone.m4 >bin/genzone -chmod +x bin/genzone +$M4 -DM4=$M4 m4/mkshell-env.m4 >bin/shell-env