From 9dce5b0a686b2854ff02f3c85645d8a559b10f47 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Wed, 6 Oct 2021 19:37:46 +0200 Subject: [PATCH] Update manuals --- man/alnux-pkg-standard.7.md | 17 +++++++++-------- man/aps.8.md | 11 +++++++---- man/aps.8.roff | 5 ----- man/manmake.sh | 10 +++++----- 4 files changed, 21 insertions(+), 22 deletions(-) delete mode 100644 man/aps.8.roff diff --git a/man/alnux-pkg-standard.7.md b/man/alnux-pkg-standard.7.md index 318402b..984efef 100644 --- a/man/alnux-pkg-standard.7.md +++ b/man/alnux-pkg-standard.7.md @@ -1,9 +1,10 @@ -#### APS/Alnux packaging standard -file structure: \ - build (Shell/DSL) \ - sha256 (DSL, seperate files for every sum) \ - sources (DSL, seperate files for every source) \ - package (DSL, variable) \ -expectations, and alnux: \ - alnux is probably a diffrent distro than KISS. So don't try to install KISS packages on AL. \ +alnux-pkg-standard(7) +# APS/Alnux packaging standard +# file structure: +- build (Shell/DSL) +- sha256 (DSL, seperate files for every sum) +- sources (DSL, seperate files for every source) +- package (DSL, variable) +# expectations, and alnux: +alnux is probably a diffrent distro than KISS. So don't try to install KISS packages on AL. diff --git a/man/aps.8.md b/man/aps.8.md index ebdf534..e841444 100644 --- a/man/aps.8.md +++ b/man/aps.8.md @@ -1,4 +1,7 @@ -#### APS version 0.1.0 -to patch aps, mail the alnux dev team the patch.\ -for pkg standards, visit alnux-pkg-standard.7. \ -Note: APS contains some old code still, it's been updated to support alot of standards. \ \ No newline at end of file +aps(8) +# APS version 0.1.0 +# Patching APS: +either make a (.diff, .patch., .fix) file, sign it, mail it, or +mail it without the patch file, just the fix. (Mail it to APS dev team of course.) +# Packaging: +visit alnux-pkg-standard.7 for further info. \ No newline at end of file diff --git a/man/aps.8.roff b/man/aps.8.roff deleted file mode 100644 index f555852..0000000 --- a/man/aps.8.roff +++ /dev/null @@ -1,5 +0,0 @@ -.TH aps "v0.1.0" -.SH aps - alnux package manager -.SP .SH ALNUX PACKAGE MANAGER - subpages: alnux-pkg-standard.7. -To submit patches, contact the alnux dev team via mail (mailing list). -If you need help refer to the wiki \ No newline at end of file diff --git a/man/manmake.sh b/man/manmake.sh index d4446e7..50ebf0a 100755 --- a/man/manmake.sh +++ b/man/manmake.sh @@ -4,16 +4,16 @@ function clean(){ rm aps.8 rm alnux-pkg-standard.7 } -function panbuild(){ +function scdocbuild(){ set -x - pandoc aps.8.md -f markdown -t man -o aps.8 -s - pandoc alnux-pkg-standard.7.md -f markdown -t man -o alnux-pkg-standard.7 -s + scdoc < aps.8.md > aps.8 + scdoc < alnux-pkg-standard.7.md > alnux-pkg-standard.7 } function main(){ case $1 in - panbuild) panbuild ;; + panbuild) scdocbuild || echo "scdoc is missing!" ;; clean) clean ;; - *) panbuild ;; + *) scdocbuild || echo "scdoc is missing" ;; esac } main $1 \ No newline at end of file