History

gnu_fortran: update docs/file-scrapers.md

Simon Legner committed 5 years ago

Commit 1e2200b1 parent 8fa0b641 file · +3 −8Browse files

Unified · Split

docs/file-scrapers.md+3−8
@@ -39,14 +39,9 @@ Go to https://www.erlang.org/downloads and download the HTML documentation file. · 38 unmodified lines
3939 Go to https://gcc.gnu.org/onlinedocs/ and download the HTML tarball of Fortran manual or run the following commands to download the tarball:
4040
4141 ```sh
42−wget https://gcc.gnu.org/onlinedocs/gcc-<version>/gfortran-html.tar.gz
43−```
44−
45−Then extract the content of the tarball and move it to the devdocs directory.
46−
47−```sh
48−tar xf <tarball>
49−mv <extracted_directory> path/to/devdocs/docs/gnu_fortran~<version>/
42+mkdir docs/gnu_fortran~$VERSION; \
43+curl https://gcc.gnu.org/onlinedocs/gcc-$RELEASE/gfortran-html.tar.gz | \
44+tar --extract --gzip --strip-components=1 --directory=docs/gnu_fortran~$VERSION
5045 ```
5146
5247 ## Gnuplot