summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-01-19 15:27:06 -0500
committerLouie S <louie@example.com>2024-01-19 15:31:00 -0500
commitef4c089d4f64307e48b3810830c2559830ebf8e2 (patch)
tree6de6746d73fe6af171aa2719bf4bb544f68ac8dc
parent8fb96e377ed2fa0c0ab707425b862363a29be859 (diff)
Add conditional to avoid error when MANUAL_URL is unsetHEADmaster
Change pup link to upstream URL (instead of debian page) Change pup link to upstream URL (instead of debian page)
-rw-r--r--Makefile2
-rw-r--r--README.template2
2 files changed, 3 insertions, 1 deletions
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