antix19
authorMichael Wagner <michael@wagnertech.de>
Fri, 26 Mar 2021 21:17:25 +0000 (22:17 +0100)
committerMichael Wagner <michael@wagnertech.de>
Fri, 26 Mar 2021 21:17:25 +0000 (22:17 +0100)
Test/FitnessePages/.dummy [new file with mode: 0644]
Test/etc/.dummy [new file with mode: 0644]
debian/mdoc.changelog [new file with mode: 0644]
debian/mdoku.changelog [new symlink]
debian/mdoku.control [new file with mode: 0644]
debian/mdoku.cp [new file with mode: 0755]

diff --git a/Test/FitnessePages/.dummy b/Test/FitnessePages/.dummy
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/Test/etc/.dummy b/Test/etc/.dummy
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/debian/mdoc.changelog b/debian/mdoc.changelog
new file mode 100644 (file)
index 0000000..12b32e0
--- /dev/null
@@ -0,0 +1,4 @@
+mdoc (0.1-%BUILD%) unstable; urgency=medium
+  * build tool for documents
+ -- Michael Wagner <michael@wagnertech.de>  Fri,  26 Mar 2021 16:54:48 +0100
+
diff --git a/debian/mdoku.changelog b/debian/mdoku.changelog
new file mode 120000 (symlink)
index 0000000..32af82b
--- /dev/null
@@ -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 (file)
index 0000000..900a1fc
--- /dev/null
@@ -0,0 +1,11 @@
+Source: mdoc
+Section: main
+Priority: optional
+Maintainer: WagnerTech UG <mail@wagnertech.de>
+
+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 (executable)
index 0000000..14f5496
--- /dev/null
@@ -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
+