Tiny makefile patch
Edward Avis
epa98@doc.ic.ac.uk
Wed Feb 27 10:03:00 GMT 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The makefile generated from gcc/Makefile.in will fail if autoconf
decided not to install any message catalogues. This small patch fixes
it:
Index: Makefile.in
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.830
diff -c -r1.830 Makefile.in
*** Makefile.in 22 Feb 2002 04:42:38 -0000 1.830
- --- Makefile.in 27 Feb 2002 15:10:04 -0000
***************
*** 3412,3418 ****
# with the distribution.
install-po:
$(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(datadir)
! for cat in $(CATALOGS); do \
lang=`basename $$cat | sed 's/\.gmo$$//'`; \
if [ -f $$cat ]; then :; \
elif [ -f $(srcdir)/$$cat ]; then cat=$(srcdir)/$$cat; \
- --- 3412,3419 ----
# with the distribution.
install-po:
$(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(datadir)
! catalogs=$(CATALOGS); \
! for cat in $$catalogs; do \
lang=`basename $$cat | sed 's/\.gmo$$//'`; \
if [ -f $$cat ]; then :; \
elif [ -f $(srcdir)/$$cat ]; then cat=$(srcdir)/$$cat; \
In other words if CATALOGS is the empty string, which can happen
sometimes (presumably if configure doesn't find the necessary
internationalization / locale stuff on the system).
- --
Ed Avis <epa98@doc.ic.ac.uk>
Finger for PGP key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8fPfeIMp73jhGogoRAoJLAKCH6qfW1BZR7eDmORK6zPLsFLuXpwCeL12L
jJf7YY8WhGD0iEfygndHops=
=pP9T
-----END PGP SIGNATURE-----
More information about the Gcc-patches
mailing list