From 7c07ea9b892eb93eef7ff69fd83437e2e49bf95c Mon Sep 17 00:00:00 2001 From: Louie S Date: Thu, 9 May 2024 14:31:19 -0400 Subject: Update manual source url --- Makefile | 3 ++- README | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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: -- cgit