From c374241a7a1479b1444191ca601e53ea1a5fbc74 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 10 Sep 2024 13:41:03 +0200 Subject: [PATCH] build: Fix build failure when people set DESTDIR already during 'make'. Reported by Henrik Holst in . * gettext-tools/src/Makefile.am (textstyle.h): Pass an empty DESTDIR to libtextstyle/lib/Makefile. --- gettext-tools/src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gettext-tools/src/Makefile.am b/gettext-tools/src/Makefile.am index 6d1a1c26a..5f8361428 100644 --- a/gettext-tools/src/Makefile.am +++ b/gettext-tools/src/Makefile.am @@ -344,7 +344,7 @@ else textstyle.h textstyle/stdbool.h textstyle/version.h textstyle/woe32dll.h: here=`pwd`; \ cd ../../libtextstyle/lib && \ - $(MAKE) install-nobase_includeHEADERS install-nobase_nodist_includeHEADERS includedir="$$here" + $(MAKE) install-nobase_includeHEADERS install-nobase_nodist_includeHEADERS DESTDIR= includedir="$$here" BUILT_SOURCES += textstyle.h textstyle/stdbool.h textstyle/version.h textstyle/woe32dll.h MOSTLYCLEANFILES += textstyle.h textstyle/stdbool.h textstyle/version.h textstyle/woe32dll.h # Where to find the built libtextstyle library. -- 2.47.2