summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-10-26 09:07:57 +0000
committerBruno Haible <bruno@clisp.org>2001-10-26 09:07:57 +0000
commit650dbebf60b1a98a2f04826d90265eb9120ce423 (patch)
tree49f68911f3bf6a59a27a36c02840910d9712da12
parent63d9943b56375176d368059f835f992a676ce052 (diff)
downloadexternal_gettext-650dbebf60b1a98a2f04826d90265eb9120ce423.zip
external_gettext-650dbebf60b1a98a2f04826d90265eb9120ce423.tar.gz
external_gettext-650dbebf60b1a98a2f04826d90265eb9120ce423.tar.bz2
Add the standard targets 'install-strip' and 'installdirs'.
-rw-r--r--intl/ChangeLog4
-rw-r--r--intl/Makefile.in20
-rw-r--r--po/ChangeLog6
-rw-r--r--po/Makefile.in.in21
4 files changed, 51 insertions, 0 deletions
diff --git a/intl/ChangeLog b/intl/ChangeLog
index 29ec72c..2bb17d9 100644
--- a/intl/ChangeLog
+++ b/intl/ChangeLog
@@ -1,3 +1,7 @@
+2001-09-27 Bruno Haible <haible@clisp.cons.org>
+
+ * Makefile.in (install-strip, installdirs): New rules.
+
2001-09-24 Bruno Haible <haible@clisp.cons.org>
* localename.c: New file, integrating a function from
diff --git a/intl/Makefile.in b/intl/Makefile.in
index 6a4499e..3e797b5 100644
--- a/intl/Makefile.in
+++ b/intl/Makefile.in
@@ -205,6 +205,26 @@ install-data: all
: ; \
fi
+install-strip: install
+
+installdirs:
+ if test "$(PACKAGE)" = "gettext" \
+ && test '@INTLOBJS@' = '$(GETTOBJS)'; then \
+ $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \
+ else \
+ : ; \
+ fi
+ if test '@USE_INCLUDED_LIBINTL@' = yes; then \
+ $(mkinstalldirs) $(DESTDIR)$(libdir); $(DESTDIR)$(localedir); \
+ else \
+ : ; \
+ fi
+ if test "$(PACKAGE)" = "gettext"; then \
+ $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
+ else \
+ : ; \
+ fi
+
# Define this as empty until I found a useful application.
installcheck:
diff --git a/po/ChangeLog b/po/ChangeLog
index 359760a..e716366 100644
--- a/po/ChangeLog
+++ b/po/ChangeLog
@@ -1,3 +1,9 @@
+2001-09-27 Bruno Haible <haible@clisp.cons.org>
+
+ * Makefile.in.in (install-strip, installdirs, installdirs-exec,
+ installdirs-data, installdirs-data-no, installdirs-data-yes): New
+ rules.
+
2001-09-18 Bruno Haible <haible@clisp.cons.org>
* Makefile.in.in (MSGMERGE_UPDATE): New variable.
diff --git a/po/Makefile.in.in b/po/Makefile.in.in
index 6a655f3..2e019c5 100644
--- a/po/Makefile.in.in
+++ b/po/Makefile.in.in
@@ -109,6 +109,27 @@ install-data-yes: all
fi; \
done
+install-strip: install
+
+installdirs: installdirs-exec installdirs-data
+installdirs-exec:
+installdirs-data: install-data-@USE_NLS@
+ if test "$(PACKAGE)" = "gettext"; then \
+ $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
+ else \
+ : ; \
+ fi
+installdirs-data-no:
+installdirs-data-yes:
+ $(mkinstalldirs) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(mkinstalldirs) $(DESTDIR)$$dir; \
+ done
+
# Define this as empty until I found a useful application.
installcheck: