]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Add the standard targets 'install-strip' and 'installdirs'.
authorBruno Haible <bruno@clisp.org>
Fri, 26 Oct 2001 09:07:57 +0000 (09:07 +0000)
committerBruno Haible <bruno@clisp.org>
Fri, 26 Oct 2001 09:07:57 +0000 (09:07 +0000)
intl/ChangeLog
intl/Makefile.in
po/ChangeLog
po/Makefile.in.in

index 29ec72cbf8eee077fb3c885ddebc2a63012d6e0b..2bb17d98f3da234b57ba7d5ae9520fb231892261 100644 (file)
@@ -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
index 6a4499eaa5633ecbc0800658bc323b639e79acd3..3e797b52848a055d5ceb1065a55df610d8a55363 100644 (file)
@@ -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:
 
index 359760acb3dc58637b2c183622e251b09e3a13d4..e716366085b4436cd276f29269ef01410fd94335 100644 (file)
@@ -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.
index 6a655f3bcde577171803fb08ba3107cbe8928340..2e019c5d9b33deda0048adbfc80f4fa3db07edf5 100644 (file)
@@ -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: