diff --git a/Makefile b/Makefile index 27e3e1b..ec78e74 100644 --- a/Makefile +++ b/Makefile @@ -6,11 +6,14 @@ VERSION=$(shell awk '/version:/{ print $$2 }' README.md ) TESTNAME=primitives COMPILE_R7RS=chibi -build: documentation +all: package + +package: + markdown README.md > README.html snow-chibi package \ --version=${VERSION} \ --authors="Retropikzel" \ - --doc=documentation/foreign-c.html \ + --doc=README.html \ --foreign-depends=ffi \ --description="Portable foreign function interface for R7RS Schemes" \ foreign/c.sld diff --git a/README.md b/README.md index a584bb2..3f09a27 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,8 @@ Required versions: - -J--add-exports=java.base/jdk.internal.foreign=ALL-UNNAMED - -J--enable-native-access=ALL-UNNAMED - -J--enable-preview + - All needed arguments on one line for copy pasting + - -J--add-exports=java.base/jdk.internal.foreign.abi=ALL-UNNAMED -J--add-exports=java.base/jdk.internal.foreign.layout=ALL-UNNAMED -J--add-exports=java.base/jdk.internal.foreign=ALL-UNNAMED -J--enable-native-access=ALL-UNNAMED -J--enable-preview - So that snow-chibi installed library is found - -Dkawa.import.path=/usr/local/share/kawa - -Dkawa.import.path=/usr/local/share/kawa/lib diff --git a/documentation/foreign-c.html b/documentation/foreign-c.html index 287f7b5..14060a6 100644 --- a/documentation/foreign-c.html +++ b/documentation/foreign-c.html @@ -126,6 +126,13 @@ Schemes - 0.10.0
  • -J–enable-native-access=ALL-UNNAMED
  • -J–enable-preview
  • +
  • All needed arguments on one line for copy pasting +
  • So that snow-chibi installed library is found