1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-13 12:35:48 +03:00

doc: Fix README build

This commit is contained in:
Samuel Dionne-Riel 2020-05-04 19:44:02 -04:00
parent 4d2648a864
commit a27fc719cf

View File

@ -34,9 +34,9 @@ stdenv.mkDerivation {
cat >> README.adoc <<EOF
= README.adoc
include::_support/common.inc[]
:relative_file_path: README.adoc
EOF
tail -n +4 ${../README.adoc} >> README.adoc
# The title needs to be first
head -n1 ${../CONTRIBUTING.adoc} > contributing.adoc
@ -61,8 +61,6 @@ stdenv.mkDerivation {
EOF
fi
tail -n +3 ${../README.adoc} >> README.adoc
# Copies the generated asciidoc source for the devices.
cp -prf ${devices}/devices devices