Просмотр исходного кода

Document ESCRIPT_ZIP=zip and Ubuntu's p7zip-full

[ci-skip]
Loïc Hoguin 8 лет назад
Родитель
Сommit
468a3b4e23
1 измененных файлов с 10 добавлено и 1 удалено
  1. 10 1
      doc/src/guide/escripts.asciidoc

+ 10 - 1
doc/src/guide/escripts.asciidoc

@@ -10,8 +10,17 @@ that they are fairly small compared to releases.
 
 For self-contained executables, check xref:sfx[self-extracting releases].
 
+=== Requirements
+
 Erlang.mk uses `p7zip` by default to generate the escript
-archive. Make sure it is installed.
+archive. Make sure it is installed. On most systems the
+package is named `p7zip`; on Ubuntu you need `p7zip-full`.
+
+If `p7zip` is unavailable, `zip` may be used by setting
+the `ESCRIPT_ZIP` variable. For example:
+
+[source,bash]
+$ make escript ESCRIPT_ZIP=zip
 
 === Generating an escript