set -e
ragel dnslabeltext.rl -o dnslabeltext.cc
-#cd ../docs
-#make
-#cd -
+
+cd ../docs
+pandoc -s -t man manpages/pdns_recursor.1.md -o pdns_recursor.1
+pandoc -s -t man manpages/rec_control.1.md -o rec_control.1
+cd -
## The following lines will be patched by set-version-recursor.
VERSION=""
DIST_HOST=""
cp tools/rrd/{create,update,makegraphs,index.html} $DIRNAME/rrd
cp dnslabeltext.rl $DIRNAME
cp pdns-recursor.init.d $DIRNAME
-#cp ../docs/pdns_recursor.1 ../docs/rec_control.1 $DIRNAME
+cp ../docs/pdns_recursor.1 ../docs/rec_control.1 $DIRNAME
cp configure-recursor $DIRNAME/configure
cp powerdns-example-script.lua $DIRNAME
mkdir -p $DIRNAME/contrib