Move readme.html build to its own job

This commit is contained in:
retropikzel 2025-06-25 19:29:25 +03:00
parent a932f30ce0
commit 190aa68600
1 changed files with 5 additions and 3 deletions

View File

@ -1,12 +1,11 @@
.PHONY=libtest.o tests/libtest.so libtest.a documentation .PHONY=libtest.o tests/libtest.so libtest.a documentation README.html
CC=gcc CC=gcc
DOCKER=docker run -it -v ${PWD}:/workdir DOCKER=docker run -it -v ${PWD}:/workdir
DOCKER_INIT=cd /workdir && make clean && DOCKER_INIT=cd /workdir && make clean &&
VERSION=$(shell awk '/version:/{ print $$2 }' README.md ) VERSION=$(shell awk '/version:/{ print $$2 }' README.md )
TESTNAME=primitives TESTNAME=primitives
package: package: README.html
markdown README.md > README.html
snow-chibi package \ snow-chibi package \
--version=${VERSION} \ --version=${VERSION} \
--authors="Retropikzel" \ --authors="Retropikzel" \
@ -15,6 +14,9 @@ package:
--description="Portable foreign function interface for R7RS Schemes" \ --description="Portable foreign function interface for R7RS Schemes" \
foreign/c.sld foreign/c.sld
README.html:
markdown README.md > README.html
clean-package: clean-package:
rm -rf *.tgz rm -rf *.tgz