]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Remove combine-sh. Impossible to maintain.
authorBruno Haible <bruno@clisp.org>
Tue, 27 Mar 2001 13:30:39 +0000 (13:30 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 27 Mar 2001 13:30:39 +0000 (13:30 +0000)
misc/ChangeLog
misc/Makefile.am
misc/combine-sh [deleted file]

index 2939584c47b100b2127a83687f89f31b6cf3918d..4f532162ae2ba284c5f8858010f00f4a2d2ddaee 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-25  Bruno Haible  <haible@clisp.cons.org>
+
+       * combine-sh: Remove file.
+       * Makefile.am (EXTRA_DIST): Remove it.
+
 2001-03-22  Bruno Haible  <haible@clisp.cons.org>
 
        * po-mode.el (po-default-file-header): Replace ENCODING with 8-bit.
index 4a6197a3ab07e8af290fd8b2f5e3d5b1842df2ef..af8bc15bb01587e8e4dc22700d1621aaacca579e 100644 (file)
@@ -19,8 +19,7 @@
 
 AUTOMAKE_OPTIONS = 1.2 gnits
 
-EXTRA_DIST = combine-sh gettext.perl gettext-sh tcl_gettext.c \
-README-Tcl po-mode.el
+EXTRA_DIST = gettext.perl gettext-sh tcl_gettext.c README-Tcl po-mode.el
 DISTCLEANFILES = gettextize
 lisp_LISP = po-mode.el
 
diff --git a/misc/combine-sh b/misc/combine-sh
deleted file mode 100755 (executable)
index b26fb4f..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-#!/bin/sh
-
-TMPDIR=/tmp
-TMPNAME=/tmp/combine1.$$.sed
-
-trap 'rm -fr $TMPNAME combine; exit 1' 1 2 15
-
-rm -f $TMPNAME
-cat > $TMPNAME <<EOF
-/@@ end of prolog @@/,/@@ begin of epilog @@/!d
-/@@ end of prolog @@/ {
-  =
-  d
-}
-/@@ begin of epilog @@/d
-EOF
-
-
-rm -fr combine
-mkdir combine
-cat > combine/libintl.c <<EOF
-/* Combined sources of GNU gettext library
-   Copyright (C) 1995 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
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#define USE_COMBINED_HEADER 1
-#include "libintlP.h"
-
-#if HAVE_CATGETS
-
-#include <stdlib.h>
-
-#ifdef HAVE_LOCALE_H
-# include <locale.h>
-#endif
-
-#ifdef HAVE_NL_TYPES_H
-# include <nl_types.h>
-#endif
-
-EOF
-
-CATCFILES=cat-compat.c
-GETCFILES="bindtextdom.c dcgettext.c dgettext.c finddomain.c gettext.c \
-loadmsgcat.c textdomain.c"
-
-for file in $CATCFILES; do
-  sed -f $TMPNAME < $file \
-    | sed -e '1s/.*/#line & "'$file'"/' >> combine/libintl.c
-done
-cat >> combine/libintl.c <<EOF
-
-#else /* !HAVE_CATGETS */
-
-#include <alloca.h>
-#include <fcntl.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/stat.h>
-
-#ifdef HAVE_LOCALE_H
-# include <locale.h>
-#endif
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
-#ifdef HAVE_MMAP
-# include <sys/mman.h>
-#endif
-
-EOF
-for file in $GETCFILES; do
-  sed -f $TMPNAME < $file \
-    | sed -e '1s/.*/#line & "'$file'"/' >> combine/libintl.c
-done
-cat >> combine/libintl.c <<EOF
-#endif /* HAVE_CATGETS */
-EOF
-
-cat > combine/libintlP.h <<EOF
-/* Combined header files of GNU gettext library
-   Copyright (C) 1995 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
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
-
-EOF
-
-PUBHEAD=libgettext.h
-PRIVHEAD="gettext.h gettextP.h hash-string.h"
-
-for file in $PUBHEAD; do
-  sed -f $TMPNAME < $file \
-    | sed -e '1s/.*/#line & "'$file'"/' >> combine/libintlP.h
-done
-cat >> combine/libintlP.h <<EOF
-
-#ifdef USE_COMBINED_HEADER
-EOF
-for file in $PRIVHEAD; do
-  sed -f $TMPNAME < $file \
-    | sed -e '1s/.*/#line & "'$file'"/' >> combine/libintlP.h
-done
-cat >> combine/libintlP.h <<EOF
-#endif /* USE_COMBINED_HEADER */
-EOF
-
-
-rm -f $TMPNAME
-exit 0