From: Bruno Haible Date: Tue, 4 Feb 2025 00:40:01 +0000 (+0100) Subject: Fix last two commits. X-Git-Tag: v0.24~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e4d0804e5b309b7f0a14fb0cec3985d88ff6e2bd;p=thirdparty%2Fgettext.git Fix last two commits. --- diff --git a/gettext-tools/libgettextpo/Makefile.am b/gettext-tools/libgettextpo/Makefile.am index f6e04f19b..4510f5fb1 100644 --- a/gettext-tools/libgettextpo/Makefile.am +++ b/gettext-tools/libgettextpo/Makefile.am @@ -180,7 +180,7 @@ config.h: $(BUILT_SOURCES) *.c | *.$(OBJEXT) | *.lo ) \ sf=`echo "$$f" | sed -e 's,^libgnu_la-,,' -e 's,\\.[^.]*$$,,'`.c; \ test -f $$sf || sf=$(srcdir)/$$sf; \ - of=`echo "$$f" | sed -e 's,^.*/,,' -e 's,\\.[^.]*$$,,'`.$(OBJEXT); \ + of=`echo "$$f" | sed -e 's,^.*/,,' -e 's,^libgnu_la-,,' -e 's,\\.[^.]*$$,,'`.$(OBJEXT); \ $(COMPILE) $(DEFS) $(GL_CFLAG_INHIBIT_WARNINGS) -c $$sf || { rm -f config.h; exit 1; }; \ sh ./exported.sh $$of 1>&5; \ rm -f $$of `echo "$$of" | sed -e 's,\\.$(OBJEXT)$$,.lo,'`; \ diff --git a/libtextstyle/lib/Makefile.am b/libtextstyle/lib/Makefile.am index 16eb50ba5..deba6a38b 100644 --- a/libtextstyle/lib/Makefile.am +++ b/libtextstyle/lib/Makefile.am @@ -1,5 +1,5 @@ ## Makefile for the lib subdirectory of GNU libtextstyle. -## Copyright (C) 2009-2024 Free Software Foundation, Inc. +## Copyright (C) 2009-2025 Free Software Foundation, Inc. ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -226,7 +226,7 @@ config.h: $(BUILT_SOURCES) libtextstyle.sym *.c | *.$(OBJEXT) | *.lo ) \ sf=`echo "$$f" | sed -e 's,^libtextstyle_la-,,' -e 's,\\.[^.]*$$,,'`.c; \ test -f $$sf || sf=$(srcdir)/$$sf; \ - of=`echo "$$f" | sed -e 's,^.*/,,' -e 's,\\.[^.]*$$,,'`.$(OBJEXT); \ + of=`echo "$$f" | sed -e 's,^.*/,,' -e 's,^libtextstyle_la-,,' -e 's,\\.[^.]*$$,,'`.$(OBJEXT); \ echo "$(COMPILE) $(GL_CFLAG_INHIBIT_WARNINGS) -c $$sf" 1>&6; \ $(COMPILE) $(GL_CFLAG_INHIBIT_WARNINGS) -c $$sf || { rm -f config.h; exit 1; }; \ sh ./exported.sh $$of 1>&5; \