summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-05-09 14:31:19 -0400
committerLouie S <louie@example.com>2024-05-09 14:31:19 -0400
commit7c07ea9b892eb93eef7ff69fd83437e2e49bf95c (patch)
tree2b8477a79cedf60b75d57a3d58802b9fcc8d8a09
parent02c3cca15cc48cf93979a8bbcf5f47528d1a8b9f (diff)
Update manual source urlHEADmaster
-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: