From 0f59d886d6fcea50868c0cbde713fe550abc9d0e Mon Sep 17 00:00:00 2001 From: Michael Wagner Date: Fri, 26 Mar 2021 22:17:25 +0100 Subject: [PATCH] antix19 --- Test/FitnessePages/.dummy | 0 Test/etc/.dummy | 0 debian/mdoc.changelog | 4 ++++ debian/mdoku.changelog | 1 + debian/mdoku.control | 11 +++++++++++ debian/mdoku.cp | 15 +++++++++++++++ 6 files changed, 31 insertions(+) create mode 100644 Test/FitnessePages/.dummy create mode 100644 Test/etc/.dummy create mode 100644 debian/mdoc.changelog create mode 120000 debian/mdoku.changelog create mode 100644 debian/mdoku.control create mode 100755 debian/mdoku.cp diff --git a/Test/FitnessePages/.dummy b/Test/FitnessePages/.dummy new file mode 100644 index 0000000..e69de29 diff --git a/Test/etc/.dummy b/Test/etc/.dummy new file mode 100644 index 0000000..e69de29 diff --git a/debian/mdoc.changelog b/debian/mdoc.changelog new file mode 100644 index 0000000..12b32e0 --- /dev/null +++ b/debian/mdoc.changelog @@ -0,0 +1,4 @@ +mdoc (0.1-%BUILD%) unstable; urgency=medium + * build tool for documents + -- Michael Wagner Fri, 26 Mar 2021 16:54:48 +0100 + diff --git a/debian/mdoku.changelog b/debian/mdoku.changelog new file mode 120000 index 0000000..32af82b --- /dev/null +++ b/debian/mdoku.changelog @@ -0,0 +1 @@ +mdoc.changelog \ No newline at end of file diff --git a/debian/mdoku.control b/debian/mdoku.control new file mode 100644 index 0000000..900a1fc --- /dev/null +++ b/debian/mdoku.control @@ -0,0 +1,11 @@ +Source: mdoc +Section: main +Priority: optional +Maintainer: WagnerTech UG + +Package: mdoku +Section: base +Priority: optional +Architecture: all +Description: build tool for documents + diff --git a/debian/mdoku.cp b/debian/mdoku.cp new file mode 100755 index 0000000..14f5496 --- /dev/null +++ b/debian/mdoku.cp @@ -0,0 +1,15 @@ +#!/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 + -- 2.20.1