summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-06-07 02:59:01 +0000
committerJim Meyering <jim@meyering.net>1996-06-07 02:59:01 +0000
commite42cc5be8a73c908f1cf336e8553a49b7b3c537a (patch)
tree2d0fc8be20b38747fc9a2187e64fa13d5147f141 /po
parent8cb05a6bfa3b03f4694237e5c6d8dd9db113640c (diff)
downloadcoreutils-e42cc5be8a73c908f1cf336e8553a49b7b3c537a.tar.xz
Update from gettext-0.10.16.
Diffstat (limited to 'po')
-rw-r--r--po/Makefile.in.in33
1 files changed, 16 insertions, 17 deletions
diff --git a/po/Makefile.in.in b/po/Makefile.in.in
index bfac4285c..0486c2eb2 100644
--- a/po/Makefile.in.in
+++ b/po/Makefile.in.in
@@ -30,7 +30,7 @@ exec_prefix = @exec_prefix@
datadir = $(prefix)/@DATADIRNAME@
localedir = $(datadir)/locale
gnulocaledir = $(prefix)/share/locale
-gettextsrcdir = $(prefix)/share/gettext
+gettextsrcdir = $(prefix)/share/gettext/po
subdir = po
INSTALL = @INSTALL@
@@ -87,14 +87,15 @@ INSTOBJEXT = @INSTOBJEXT@
all: all-@USE_NLS@
-all-yes all-gettext: cat-id-tbl.c $(CATALOGS) @MAINT@$(GMOFILES)
+all-yes: cat-id-tbl.c $(CATALOGS)
all-no:
-$(PACKAGE).pot: @MAINT@$(POTFILES)
+$(PACKAGE).pot: $(POTFILES)
$(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
--add-comments --keyword=_ --keyword=N_ \
--files-from=$(srcdir)/POTFILES.in
- if cmp -s $(PACKAGE).po $(srcdir)/$(PACKAGE).pot; then \
+ if [ ! -s $(PACKAGE).po ] \
+ || cmp -s $(PACKAGE).po $(srcdir)/$(PACKAGE).pot; then \
rm -f $(PACKAGE).po; \
else \
rm -f $(srcdir)/$(PACKAGE).pot \
@@ -116,8 +117,6 @@ stamp-cat-id: $(PACKAGE).pot
cd $(srcdir) && rm -f stamp-cat-id && echo timestamp > stamp-cat-id
-installcheck:
-
install: install-exec install-data
install-exec:
install-data: all
@@ -142,16 +141,19 @@ install-data: all
if test -r $(srcdir)/$$cat.m ; then \
$(INSTALL_DATA) $(srcdir)/$$cat.m \
$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
+ else \
+ true; \
fi; \
fi; \
done
+ if test "$(PACKAGE)" = "gettext"; then \
+ $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \
+ cd $(srcdir) && \
+ $(INSTALL_DATA) Makefile.in.in $(gettextsrcdir)/Makefile.in.in; \
+ fi
-# This installation goal is only used in GNU gettext. Packages which
-# only use the library should use install instead.
-install-src: install
- $(top_srcdir)/mkinstalldirs $(gettextsrcdir)
- cd $(srcdir) && \
- $(INSTALL_DATA) Makefile.in.in $(gettextsrcdir)/po-Makefile.in.in
+# Define this as empty until I found a useful application.
+installcheck:
uninstall:
catalogs='$(CATALOGS)'; \
@@ -168,9 +170,7 @@ check: all
cat-id-tbl.o: ../intl/libgettext.h
-TAGS ID:
-
-tags info dvi:
+dvi info tags TAGS ID:
mostlyclean:
rm -f core core.* *.pox $(PACKAGE).po *.old.po cat-id-tbl.tmp
@@ -185,9 +185,8 @@ maintainer-clean: distclean
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
-.PHONY: distdir
distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
-distdir dist-gettext: update-po $(DISTFILES)
+dist distdir: update-po $(DISTFILES)
for file in $(DISTFILES); do \
ln $(srcdir)/$$file $(distdir) 2> /dev/null \
|| cp -p $(srcdir)/$$file $(distdir); \