commit 8f9392ef46b9447472ef5794edf1428a199abddf
parent b86a104132a11c9720e53c26c94b62543f6cd530
Author: Yuval Langer <yuval.langer@gmail.com>
Date: Thu, 8 Feb 2024 13:34:12 +0200
Add epub compilation target.
Diffstat:
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/doc/r7rs-small/build.sh b/doc/r7rs-small/build.sh
@@ -74,15 +74,18 @@ fi
target_flag=""
case "${1:-html}" in # target
+epub)
+ target_flag="--epub"
+ ;;
html)
target_flag="--html"
;;
-pdf)
- target_flag="--pdf"
- ;;
info)
target_flag="--info"
;;
+pdf)
+ target_flag="--pdf"
+ ;;
*)
printf "Error: target '%s' not yet supported.\n" "$1"
exit 1