From: Bruno Haible Date: Tue, 10 Sep 2024 11:41:03 +0000 (+0200) Subject: build: Fix build failure when people set DESTDIR already during 'make'. X-Git-Tag: v0.23~141 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c374241a7a1479b1444191ca601e53ea1a5fbc74;p=thirdparty%2Fgettext.git 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. --- 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.