--- /dev/null
+mdoc (0.1-%BUILD%) unstable; urgency=medium
+ * build tool for documents
+ -- Michael Wagner <michael@wagnertech.de> Fri, 26 Mar 2021 16:54:48 +0100
+
--- /dev/null
+#!/bin/bash
+set -e
+
+mkdir -p $1/usr/bin/
+cp python/mDoc/mdoc_extract.py $1/usr/bin/mdoc-extract
+
+mkdir -p $1/usr/lib/python3/dist-packages/
+cp -a python/mDoc/mdoc $1/usr/lib/python3/dist-packages/
+
+# copy man page
+mkdir -p $1/usr/share/man/man1
+gzip -c doc/mdoc-extract.1 >$1/usr/share/man/man1/mdoc-extract.1.gz
+mkdir -p $1/usr/share/man/man7
+gzip -c doc/mdoku.7 >$1/usr/share/man/man7/mdoku.7.gz
+