From: Bruno Haible <bruno@clisp.org>
Date: Sun, 19 Dec 2021 16:30:55 +0000 (+0100)
Subject: non-recursive-gnulib-prefix-hack: Deprecate module.
X-Git-Tag: v1.0~2506
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=f8eed11b15e9141d061900e4068ea1f3ba9b63f6;p=gnulib.git

non-recursive-gnulib-prefix-hack: Deprecate module.

* modules/non-recursive-gnulib-prefix-hack (Status, Notice): New
sections.
---

diff --git a/ChangeLog b/ChangeLog
index e29003d07e..b2c5b61914 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-12-19  Bruno Haible  <bruno@clisp.org>
+
+	non-recursive-gnulib-prefix-hack: Deprecate module.
+	* modules/non-recursive-gnulib-prefix-hack (Status, Notice): New
+	sections.
+
 2021-12-19  Bruno Haible  <bruno@clisp.org>
 
 	gnulib-tool: Don't insist on ACLOCAL_AMFLAGS.
diff --git a/modules/non-recursive-gnulib-prefix-hack b/modules/non-recursive-gnulib-prefix-hack
index a4b13736cb..c188e93f4e 100644
--- a/modules/non-recursive-gnulib-prefix-hack
+++ b/modules/non-recursive-gnulib-prefix-hack
@@ -2,6 +2,15 @@ Description:
 Adjust a gnulib-generated gnulib.mk file and configure script so
 that they are usable in a non-recursive make framework.
 
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Instead,
+  - use the gnulib-tool option '--automake-subdir',
+  - remove the explicit invocation of build-aux/prefix-gnulib-mk from your build
+    system.
+
 Files:
 build-aux/prefix-gnulib-mk
 m4/non-recursive-gnulib-prefix-hack.m4