diff options
author | EuAndreh <eu@euandre.org> | 2023-03-27 08:58:40 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-27 08:58:40 -0300 |
commit | 07ef3c2a2cce2f055a1174a8f49c4895dc9f6b30 (patch) | |
tree | 7ef129bd27807abcd750bd6a8455e8adf02d8657 /Makefile | |
parent | reconfigure.sh: Fix permissions of rsynced files (diff) | |
download | server-07ef3c2a2cce2f055a1174a8f49c4895dc9f6b30.tar.gz server-07ef3c2a2cce2f055a1174a8f49c4895dc9f6b30.tar.xz |
Add minimum support for generating actual HTML files in public/
Notes
See CI logs with:
git notes --ref=refs/notes/ci-logs show 07ef3c2a2cce2f055a1174a8f49c4895dc9f6b30
git notes --ref=refs/notes/ci-data show 07ef3c2a2cce2f055a1174a8f49c4895dc9f6b30
Exit status: 1
Duration: 12
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 23 |
1 files changed, 20 insertions, 3 deletions
@@ -47,9 +47,26 @@ clean: public/ src/secrets/*.txt packages system \ -public: - mkdir -p public - echo xablau > public/index.html +public/favicon.svg: + mkdir -p $(@D) + cp doc/favicon.svg $@ + +public/style.css: + mkdir -p $(@D) + td -S > $@ + +html-deps = \ + public/favicon.svg \ + public/style.css \ + +public/index.html: README.md $(html-deps) + sh doc/md2html.sh -T 'README' < README.md > $@ + +public/TODOs.html: TODOs.md $(html-deps) + td -H | sh doc/md2html.sh -T 'TODOs' > $@ + +public: \ + public/index.html public/TODOs.html prod-secrets.txt.gpg = \ |