+2000-12-30 Bruno Haible <haible@clisp.cons.org>
+
+ * locale.alias: New file, moved here from ../misc/locale.alias. Add
+ "Packages using this file" line.
+ * Makefile.in (DISTFILES.common): Add locale.alias.
+ (install-exec, uninstall): Install/deinstall locale.alias.
+
2000-10-30 Ulrich Drepper <drepper@redhat.com>
* dcigettext.c (guess_category_value): For libc always use the
CATOBJS = cat-compat.$lo ../po/cat-id-tbl.$lo
GETTOBJS = intl-compat.$lo
DISTFILES.common = ChangeLog Makefile.in po2msg.sin po2tbl.sin \
-config.charset ref-add.sin ref-del.sin $(HEADERS) $(SOURCES)
+config.charset locale.alias ref-add.sin ref-del.sin $(HEADERS) $(SOURCES)
DISTFILES.normal = VERSION
DISTFILES.gettext = libintl.glibc intlh.inst.in plural.c
sed -f ref-add.sed $$orig > $$temp; \
$(INSTALL_DATA) $$temp $$dest; \
rm -f $$temp; \
+ $(mkinstalldirs) $(DESTDIR)$(localedir); \
+ test -f $(DESTDIR)$(localedir)/locale.alias \
+ && orig=$(DESTDIR)$(localedir)/locale.alias \
+ || orig=$(srcdir)/locale.alias; \
+ temp=$(DESTDIR)$(localedir)/t-locale.alias; \
+ dest=$(DESTDIR)$(localedir)/locale.alias; \
+ sed -f ref-add.sed $$orig > $$temp; \
+ $(INSTALL_DATA) $$temp $$dest; \
+ rm -f $$temp; \
else \
: ; \
fi
else \
: ; \
fi
- if test '@USE_INCLUDED_LIBINTL@' = yes \
- && test -f $(DESTDIR)$(libdir)/charset.alias; then \
- temp=$(DESTDIR)$(libdir)/t-charset.alias; \
- dest=$(DESTDIR)$(libdir)/charset.alias; \
- sed -f ref-del.sed $$dest > $$temp; \
- if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
- rm -f $$dest; \
- else \
- $(INSTALL_DATA) $$temp $$dest; \
+ if test '@USE_INCLUDED_LIBINTL@' = yes; then \
+ if test -f $(DESTDIR)$(libdir)/charset.alias; then \
+ temp=$(DESTDIR)$(libdir)/t-charset.alias; \
+ dest=$(DESTDIR)$(libdir)/charset.alias; \
+ sed -f ref-del.sed $$dest > $$temp; \
+ if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
+ rm -f $$dest; \
+ else \
+ $(INSTALL_DATA) $$temp $$dest; \
+ fi; \
+ rm -f $$temp; \
+ fi; \
+ if test -f $(DESTDIR)$(localedir)/locale.alias; then \
+ temp=$(DESTDIR)$(localedir)/t-locale.alias; \
+ dest=$(DESTDIR)$(localedir)/locale.alias; \
+ sed -f ref-del.sed $$dest > $$temp; \
+ if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
+ rm -f $$dest; \
+ else \
+ $(INSTALL_DATA) $$temp $$dest; \
+ fi; \
+ rm -f $$temp; \
fi; \
- rm -f $$temp; \
else \
: ; \
fi
+2000-12-30 Bruno Haible <haible@clisp.cons.org>
+
+ * locale.alias: Move to ../intl.
+ * Makefile.am (EXTRA_DIST): Remove locale.alias.
+ (localedir, locale_DATA): Remove variables.
+
2000-12-08 Bruno Haible <haible@clisp.cons.org>
* gettextize.in: Preserve RCS and CVS subdirs in intl/.
## Makefile for the misc subdirectory of the GNU NLS Utilities
-## Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+## Copyright (C) 1995, 1996, 1997, 2000 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
AUTOMAKE_OPTIONS = 1.2 gnits
-localedir = $(datadir)/locale
-
EXTRA_DIST = combine-sh gettext.perl gettext-sh magic.add tcl_gettext.c \
-README-Tcl po-mode.el locale.alias
+README-Tcl po-mode.el
DISTCLEANFILES = gettextize
lisp_LISP = po-mode.el
bin_SCRIPTS = gettextize
-
-locale_DATA = locale.alias