]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Don't copy the COPYING.* files into the enclosing package.
authorBruno Haible <bruno@clisp.org>
Sat, 15 Sep 2001 01:27:17 +0000 (01:27 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 15 Sep 2001 01:27:17 +0000 (01:27 +0000)
intl/ChangeLog
intl/Makefile.in
misc/ChangeLog
misc/gettextize.in

index f6a4fdd38c81bd91d1d79706328f767628c5819b..77277fcaa0aa2949ab584f852c637db6afd24446 100644 (file)
        (OBJECTS): Add plural-exp.$lo.
        Update dependencies.
 
-2001-09-01  Bruno Haible  <haible@clisp.cons.org>
+2001-09-13  Bruno Haible  <haible@clisp.cons.org>
 
        * *.h, *.c, *.y, Makefile.in: Change copyright notice from GPL to LGPL.
        This is a reaction to a blackmail from the GNOME project which
        threatened to distribute an LGPLed clone of libintl.
        * COPYING.LIB-2, COPYING.LIB-2.1: New files.
-       * Makefile.in (DISTFILES.common): Add them.
+       * Makefile.in (DISTFILES.gettext): Add them.
+       (install-data): Install them.
+       (uninstall): Uninstall them.
 
 2001-07-28  Bruno Haible  <haible@clisp.cons.org>
 
index 0dc41aa42c8a077826645254dbfb440dbc18ac95..52e466f5e3250dfef11077952f147f8828a3c0b9 100644 (file)
@@ -71,11 +71,11 @@ finddomain.$lo loadmsgcat.$lo localealias.$lo textdomain.$lo l10nflist.$lo \
 explodename.$lo dcigettext.$lo dcngettext.$lo dngettext.$lo ngettext.$lo \
 plural.$lo plural-exp.$lo localcharset.$lo
 GETTOBJS = intl-compat.$lo
-DISTFILES.common = COPYING.LIB-2 COPYING.LIB-2.1 Makefile.in \
+DISTFILES.common = Makefile.in \
 config.charset locale.alias ref-add.sin ref-del.sin $(HEADERS) $(SOURCES)
 DISTFILES.generated = plural.c
 DISTFILES.normal = VERSION
-DISTFILES.gettext = libintl.glibc
+DISTFILES.gettext = COPYING.LIB-2 COPYING.LIB-2.1 libintl.glibc
 DISTFILES.obsolete = xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c
 
 # Libtool's library version information for libintl.
@@ -185,7 +185,7 @@ install-data: all
          $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
          $(INSTALL_DATA) VERSION $(DESTDIR)$(gettextsrcdir)/VERSION; \
          $(INSTALL_DATA) ChangeLog.inst $(DESTDIR)$(gettextsrcdir)/ChangeLog; \
-         dists="$(DISTFILES.common)"; \
+         dists="COPYING.LIB-2 COPYING.LIB-2.1 $(DISTFILES.common)"; \
          for file in $$dists; do \
            $(INSTALL_DATA) $(srcdir)/$$file \
                            $(DESTDIR)$(gettextsrcdir)/$$file; \
@@ -244,7 +244,7 @@ uninstall:
          : ; \
        fi
        if test "$(PACKAGE)" = "gettext"; then \
-         for file in VERSION ChangeLog $(DISTFILES.common) $(DISTFILES.generated); do \
+         for file in VERSION ChangeLog COPYING.LIB-2 COPYING.LIB-2.1 $(DISTFILES.common) $(DISTFILES.generated); do \
            rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
          done; \
        else \
index 2e1661c5dd5d194788706a6f3b97c25c268d6a68..254c8d48659bf8b8259061ee1276efd918a04d26 100644 (file)
@@ -1,3 +1,8 @@
+2001-09-13  Bruno Haible  <haible@clisp.cons.org>
+
+       * gettextize.in: Don't copy intl/COPYING*; these files may confuse
+       the user of the enclosing package.
+
 2001-08-23  Karl Eichwalder  <ke@suse.de>
 
        * po-mode.el (po-compute-counters): First save `current'
index 8bc8940177ad030d1c681472279790b1ee082aa1..081f8d492caf440319e5362dd384bf066bb34c46 100644 (file)
@@ -159,14 +159,16 @@ done
 # Copy files to intl/ subdirectory.
 cd intl
 for file in *; do
-  rm -f $srcdir/intl/$file
-  if test $file != plural.c; then
-    ($try_ln_s && ln -s $gettext_dir/intl/$file $srcdir/intl/$file && $echo "Symlinking file intl/$file") 2>/dev/null ||
-    { $echo "Copying file intl/$file"; cp $file $srcdir/intl/$file; }
-  else
-    # plural.c is a generated file; it must be copied and touched.
-    $echo "Copying file intl/$file"; cp $file $srcdir/intl/$file
-    sleep 2; touch $srcdir/intl/$file
+  if test $file != COPYING.LIB-2 && test $file != COPYING.LIB-2.1; then
+    rm -f $srcdir/intl/$file
+    if test $file != plural.c; then
+      ($try_ln_s && ln -s $gettext_dir/intl/$file $srcdir/intl/$file && $echo "Symlinking file intl/$file") 2>/dev/null ||
+      { $echo "Copying file intl/$file"; cp $file $srcdir/intl/$file; }
+    else
+      # plural.c is a generated file; it must be copied and touched.
+      $echo "Copying file intl/$file"; cp $file $srcdir/intl/$file
+      sleep 2; touch $srcdir/intl/$file
+    fi
   fi
 done