summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--README1
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e585408..5af6d60 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,8 @@ ARCHIVE_FILE = $(DOCSET_NAME).tgz
SRC_ICON = src/icon.png
-MANUAL_URL = https://www.gnu.org/software/libc/manual/html_node/libc-html_node.tar.gz
+MANUAL_VERSION=latest
+MANUAL_URL = https://sourceware.org/glibc/manual/$(MANUAL_VERSION)/html_node/libc-html_node.tar.gz
MANUAL_FILE = tmp/libc-html_node.tar.gz
ERROR_DOCSET_NAME = $(error DOCSET_NAME is unset)
diff --git a/README b/README
index 08484e4..7e42a05 100644
--- a/README
+++ b/README
@@ -7,6 +7,7 @@ Here is a script and a Makefile for generating a GNU C Library (or "glibc") docs
To generate a docset from the latest edition of the GNU C Library Manual, simply
execute `make` from the same directory as this README file. The latest edition
will be downloaded from https://www.gnu.org/software/libc/manual/html_node/libc-html_node.tar.gz and packaged appropriately.
+A manual version can be specified by passing a MANUAL_VERSION=... argument.
Requirements: