From ef4c089d4f64307e48b3810830c2559830ebf8e2 Mon Sep 17 00:00:00 2001 From: Louie S Date: Fri, 19 Jan 2024 15:27:06 -0500 Subject: Add conditional to avoid error when MANUAL_URL is unset Change pup link to upstream URL (instead of debian page) Change pup link to upstream URL (instead of debian page) --- Makefile | 2 ++ README.template | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9339745..9559806 100644 --- a/Makefile +++ b/Makefile @@ -52,8 +52,10 @@ tmp: $(ARCHIVE_FILE): $(DOCSET) tar --exclude='.DS_Store' -czf $@ $(DOCSET_DIR) +ifdef MANUAL_URL $(MANUAL_FILE): tmp curl -o $@ $(MANUAL_URL) +endif $(DOCSET_DIR): mkdir -p $@ diff --git a/README.template b/README.template index 6fa12d5..5d08037 100644 --- a/README.template +++ b/README.template @@ -13,5 +13,5 @@ Requirements: - any POSIX-compliant shell - curl - https://curl.se/ - make - https://www.gnu.org/software/make/ -- pup - https://tracker.debian.org/pkg/pup +- pup - https://github.com/ericchiang/pup - sqlite3 - https://www.sqlite.org/index.html -- cgit