apk-tools/SOURCES/0001-Do-not-build-docs.patch

58 lines
1.1 KiB
Diff

From 2f8d920a573188e94d1cb66e58c6462d5a08680e Mon Sep 17 00:00:00 2001
From: Andrew Lukoshko <alukoshko@almalinux.org>
Date: Mon, 7 Jul 2025 14:08:39 +0000
Subject: [PATCH] Do not build docs
---
Make.rules | 6 +++---
Makefile | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Make.rules b/Make.rules
index 400b5f8..6393b71 100644
--- a/Make.rules
+++ b/Make.rules
@@ -3,7 +3,7 @@
default: compile
-all: compile docs
+all: compile
test check:
@@ -125,7 +125,7 @@ endif
##
# Rules and helpers
-PHONY += all compile install clean docs FORCE
+PHONY += all compile install clean FORCE
# Convinient variables
comma := ,
@@ -342,7 +342,7 @@ compile: generate $(targets) $(subdirs)
docs: $(docs) $(subdirs)
@:
-install: compile docs $(subdirs) FORCE
+install: compile $(subdirs) FORCE
tag:
diff --git a/Makefile b/Makefile
index 70e66e0..04f5d5c 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ export DESTDIR SBINDIR LIBDIR CONFDIR MANDIR DOCDIR INCLUDEDIR PKGCONFIGDIR
##
# Top-level subdirs
-subdirs := libfetch/ src/ doc/
+subdirs := libfetch/ src/
##
# Include all rules and stuff
--
2.43.5