[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Makefile.in: add LIBINTL_H to install-headers
From: |
Grisha Levit |
Subject: |
[PATCH] Makefile.in: add LIBINTL_H to install-headers |
Date: |
Tue, 12 Nov 2024 20:17:10 -0500 |
I'm not sure if this is the most idiomatic way to write the rule, but
if a libintl.h is generated, it needs to make it into the installed
headers directory to allow loadables to build.
---
Makefile.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Makefile.in b/Makefile.in
index 00db8cbb..83b51583 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -933,6 +933,9 @@ install-headers: install-headers-dirs
${INSTALL_DATA} $(srcdir)/"$$hf"
$(DESTDIR)$(headersdir)/$$hf || exit 1; \
fi ; \
done
+ @if test X$(LIBINTL_H) != X ; then \
+ $(INSTALL_DATA) $(LIBINT_H) $(DESTDIR)$(headersdir)/ || exit 1;
\
+ done
-$(INSTALL_DATA) $(SUPPORT_DIR)/bash.pc
$(DESTDIR)$(pkgconfigdir)/bash.pc
uninstall-headers:
@@ -940,6 +943,7 @@ uninstall-headers:
-( cd $(DESTDIR)$(headersdir)/include && $(RM) $(INSTALLED_INCFILES) )
-( cd $(DESTDIR)$(headersdir)/builtins && $(RM)
$(INSTALLED_BUILTINS_HEADERS) )
-( cd $(DESTDIR)$(headersdir) && $(RM) $(CREATED_HEADERS) )
+ -( cd $(DESTDIR)$(headersdir) && $(RM) libintl.h )
-( $(RM) $(DESTDIR)$(pkgconfigdir)/bash.pc )
uninstall: .made
--
2.47.0
- [PATCH] Makefile.in: add LIBINTL_H to install-headers,
Grisha Levit <=