Author: Dharanendiran <dharanendiran@timesys.com>
Date: Fri, 25 Sep 2026 18:06:29 +0530


---
 config/Makefile.in | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/config/Makefile.in b/config/Makefile.in
index bbf1c0b..c4fa0c5 100644
--- a/config/Makefile.in
+++ b/config/Makefile.in
@@ -581,13 +581,16 @@ uninstall-am: uninstall-local uninstall-pkgconfigDATA
 .PRECIOUS: Makefile
 
 
-@LIBDEBUGINFOD_TRUE@all-local:
-@LIBDEBUGINFOD_TRUE@	sed -i 's/{prefix}/prefix/g' profile.fish
+@LIBDEBUGINFOD_TRUE@profile.fish.install: profile.fish
+@LIBDEBUGINFOD_TRUE@	sed 's/{prefix}/prefix/g' profile.fish > profile.fish.install.tmp
+@LIBDEBUGINFOD_TRUE@	mv -f profile.fish.install.tmp profile.fish.install
 
-@LIBDEBUGINFOD_TRUE@install-data-local:
+@LIBDEBUGINFOD_TRUE@all-local: profile.fish.install
+
+@LIBDEBUGINFOD_TRUE@install-data-local: profile.fish.install
 @LIBDEBUGINFOD_TRUE@	$(INSTALL_DATA) -D profile.sh $(DESTDIR)$(sysconfdir)/profile.d/debuginfod.sh
 @LIBDEBUGINFOD_TRUE@	$(INSTALL_DATA) -D profile.csh $(DESTDIR)$(sysconfdir)/profile.d/debuginfod.csh
-@LIBDEBUGINFOD_TRUE@	$(INSTALL_DATA) -D profile.fish $(DESTDIR)$(datadir)/fish/vendor_conf.d/debuginfod.fish
+@LIBDEBUGINFOD_TRUE@	$(INSTALL_DATA) -D profile.fish.install $(DESTDIR)$(datadir)/fish/vendor_conf.d/debuginfod.fish
 @LIBDEBUGINFOD_TRUE@	mkdir -p $(DESTDIR)$(sysconfdir)/debuginfod
 @LIBDEBUGINFOD_TRUE@	if [ -n "@DEBUGINFOD_URLS@" ]; then \
 @LIBDEBUGINFOD_TRUE@		echo "@DEBUGINFOD_URLS@" > $(DESTDIR)$(sysconfdir)/debuginfod/elfutils.urls; \
-- 
2.25.1

