From 6c515197f0792bace16a4b08679ba82f454d53f0 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 22 Sep 2019 22:06:51 -0500 Subject: Put build system in Git --- devel/Makefile | 17 ++++++++ devel/master.xsl | 86 +++++++++++++++++++++++++++++++++++++ devel/pretty.css | 100 ++++++++++++++++++++++++++++++++++++++++++++ devel/requirements/Makefile | 12 ++++++ devel/script/Makefile | 12 ++++++ devel/vision/Makefile | 12 ++++++ devel/xsl/LICENSE | 1 + devel/xsl/permalinks.xsl | 26 ++++++++++++ devel/xsl/section.title.xsl | 55 ++++++++++++++++++++++++ 9 files changed, 321 insertions(+) create mode 100644 devel/Makefile create mode 100644 devel/master.xsl create mode 100644 devel/pretty.css create mode 100644 devel/requirements/Makefile create mode 100644 devel/script/Makefile create mode 100644 devel/vision/Makefile create mode 100644 devel/xsl/LICENSE create mode 100644 devel/xsl/permalinks.xsl create mode 100644 devel/xsl/section.title.xsl diff --git a/devel/Makefile b/devel/Makefile new file mode 100644 index 0000000..789b350 --- /dev/null +++ b/devel/Makefile @@ -0,0 +1,17 @@ +.POSIX: + +all: requirements/html/index.html script/html/index.html vision/html/index.html + +requirements/html/index.html: requirements/*.xml master.xsl pretty.css + @make -C requirements + +script/html/index.html: script/*.xml master.xsl pretty.css + @make -C script + +vision/html/index.html: vision/*.xml master.xsl pretty.css + @make -C vision + +upload-all: + @make -C requirements upload + @make -C script upload + @make -C vision upload diff --git a/devel/master.xsl b/devel/master.xsl new file mode 100644 index 0000000..56aa37b --- /dev/null +++ b/devel/master.xsl @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/devel/pretty.css b/devel/pretty.css new file mode 100644 index 0000000..a39b2c6 --- /dev/null +++ b/devel/pretty.css @@ -0,0 +1,100 @@ +@import url("https://static.adelielinux.org/font/font-amal.css"); + +html { + background: #eee; +} + +body { + background: white; + box-shadow: 2px 2px 10px 2px rgba(0,0,0,.2); + font-family: 'Frank Ruhl Libre', Times, serif; + padding: 1em; +} + +@media screen and (min-width: 1280px) { + body { margin: 0 18%; } +} + +h1,h2,h3,h4,h5,h6, +div.navheader,div.navfooter, +div.toc,div.list-of-tables,div.list-of-examples { + font-family: 'IBM Plex Sans', 'Helvetica Neue', Helvetica, sans-serif; +} + +div.othercredit { + font-size: smaller; +} + +span.permalink { + font-size: smaller; + margin-left: 0.5em; +} + +span.permalink>a { + color: #444; + text-decoration: none; +} + +h2 { + margin-top: 3em; + margin-bottom: 0.2em; +} + +h3 { + margin-top: 2.5em; + margin-bottom: 0.2em; +} + +h4 { + margin-top: 2em; + margin-bottom: 0.2em; +} + +h5 { + margin-top: 1.5em; + margin-bottom: 0.2em; +} + +.command { + font-family: 'Liberation Mono',monospace; + font-size: 14px; +} + +/* normalise size with command */ +p>code { + font-size: 14px; +} + +.userinput { + font-style: italic; +} + +code.prompt { + color: green; +} + +em.parameter { + font-style: normal; +} + +div.authorgroup { + padding-bottom: 2em; +} + +div.authorgroup h3 { + margin-top: 0.5em; +} + +h3.author { font-size: 1.1em; margin-bottom: 0; } + +div.section { + margin-top: -0.5em; +} + +div.section div.titlepage { + margin-left: 0.5em; +} + +div.section > * { + margin-left: 1.5em; +} diff --git a/devel/requirements/Makefile b/devel/requirements/Makefile new file mode 100644 index 0000000..063e104 --- /dev/null +++ b/devel/requirements/Makefile @@ -0,0 +1,12 @@ +.POSIX: + +all: html/index.html + +html/index.html: *.xml ../pretty.css + @printf 'Requirements Specification: Generating HTML...\n' + @xmlto html -m ../master.xsl -o html requirements.xml + @cp ../pretty.css html/ + +upload: html/index.html + @printf 'Uploading Requirements Specification...\n' + @scp html/* awilcox@www.adelielinux.org:/srv/www/adelie/www/horizon-requirements/ diff --git a/devel/script/Makefile b/devel/script/Makefile new file mode 100644 index 0000000..95720e8 --- /dev/null +++ b/devel/script/Makefile @@ -0,0 +1,12 @@ +.POSIX: + +all: html/index.html + +html/index.html: *.xml ../pretty.css + @printf 'HorizonScript Specification: Generating HTML...\n' + @xmlto html -m ../master.xsl -o html script.xml + @cp ../pretty.css html/ + +upload: html/index.html + @printf 'Uploading HorizonScript Specification...\n' + @scp html/* awilcox@www.adelielinux.org:/srv/www/adelie/www/horizon-script/ diff --git a/devel/vision/Makefile b/devel/vision/Makefile new file mode 100644 index 0000000..47f4031 --- /dev/null +++ b/devel/vision/Makefile @@ -0,0 +1,12 @@ +.POSIX: + +all: html/index.html + +html/index.html: *.xml ../pretty.css + @printf 'Vision: Generating HTML...\n' + @xmlto html -m ../master.xsl -o html vision.xml + @cp ../pretty.css html/ + +upload: html/index.html + @printf 'Uploading Vision...\n' + @scp html/* awilcox@www.adelielinux.org:/srv/www/adelie/www/horizon-vision/ diff --git a/devel/xsl/LICENSE b/devel/xsl/LICENSE new file mode 100644 index 0000000..08339a9 --- /dev/null +++ b/devel/xsl/LICENSE @@ -0,0 +1 @@ +Taken from http://doccookbook.sourceforge.net/html/en/ which is licensed CC BY-NC-SA 3.0. diff --git a/devel/xsl/permalinks.xsl b/devel/xsl/permalinks.xsl new file mode 100644 index 0000000..f6a74fc --- /dev/null +++ b/devel/xsl/permalinks.xsl @@ -0,0 +1,26 @@ + + + + + + ΒΆ + + + + + + + + + + + + + + + + + + diff --git a/devel/xsl/section.title.xsl b/devel/xsl/section.title.xsl new file mode 100644 index 0000000..8edfb6e --- /dev/null +++ b/devel/xsl/section.title.xsl @@ -0,0 +1,55 @@ + + + + + + + + + 1 + 2 + 3 + 4 + 5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3-70-g09d2