From a72ab23298e860a5444be5256a6153e01dd88bd5 Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Sat, 4 Apr 2026 22:32:45 +0200 Subject: Start working on a website and some scripts to maintain it * configure.ac (AM_INIT_AUTOMAKE): Add dist-bzip2 and dist-xz. (AC_CONFIG_FILES): Add scripts/publish-release and scripts/publish-release-docs. * doc/Makefile.am: Pass in package version to gendocs.sh. Set css for manual, and toplevel url. * doc/index_template.html: Set stylesheet link and reformat. * scripts/publish-release-docs.in: New file. * scripts/publish-release.in: New file. * scripts/publish-www: New file. * www/index.html: New file. * www/style.css: New file. --- scripts/publish-release-docs.in | 6 ++++++ scripts/publish-release.in | 8 ++++++++ scripts/publish-www | 4 ++++ 3 files changed, 18 insertions(+) create mode 100644 scripts/publish-release-docs.in create mode 100644 scripts/publish-release.in create mode 100755 scripts/publish-www (limited to 'scripts') diff --git a/scripts/publish-release-docs.in b/scripts/publish-release-docs.in new file mode 100644 index 0000000..1da54b2 --- /dev/null +++ b/scripts/publish-release-docs.in @@ -0,0 +1,6 @@ +#!/bin/sh +set -e + +make +make -C doc manual-rebuild +scp -r doc/manual peter@pmikkelsen.com:/var/www/htdocs/aplwc.org/v@PACKAGE_VERSION@/ diff --git a/scripts/publish-release.in b/scripts/publish-release.in new file mode 100644 index 0000000..28d1aea --- /dev/null +++ b/scripts/publish-release.in @@ -0,0 +1,8 @@ +#!/bin/sh +set -e + +make distcheck +hut git artifact upload aplwc-@PACKAGE_VERSION@.tar.* + +sh ./scripts/publish-release-docs +sh ./scripts/publish-www diff --git a/scripts/publish-www b/scripts/publish-www new file mode 100755 index 0000000..c395f9f --- /dev/null +++ b/scripts/publish-www @@ -0,0 +1,4 @@ +#!/bin/sh +set -e + +scp www/*.html www/*.css peter@pmikkelsen.com:/var/www/htdocs/aplwc.org/ -- cgit v1.2.3