This ignores a few generated files.

po/ChangeLog is modified by gettextize, for some (quite ridiculously
stupid) reason; it keeps adding "upgraded" messages, leaving me to
remove them from diffs.  There's no apparent way to turn this off, but
we obviously can't cvsignore it.  Gah.  I'd even go so far as to suggest
autogen.sh backing up and restoring it when gettextizing; that script
is making a mess.  (It's put the "Upgrade to gettext-0.10.40." line
in there about 10 times on my current copy.  Thanks, gettext!)

if [ -r po/jp.po ]; then
  (cd po && gcc -s ./ujis2sjis.c -o ./ujis2sjis && \
   ./ujis2sjis < ja.po > ja_JP.SJIS.po) \
   < /dev/null > /dev/null 2>&1 || {
  echo
  echo "**Error**: Problem with preparing Japanse \`sjis' translation"
  echo "Check if \`po/ujis2sjis.c' is compilling fine."
  DIE=1
}
fi

jp.po doesn't exist (should that have been ja.po?), nor does ujis2sjis.c; is
this still needed?  Locales convert to different encodings automatically.

-- 
Glenn Maynard
Index: .cvsignore
===================================================================
RCS file: /home/lav/cvsroot/lftp/.cvsignore,v
retrieving revision 1.5
diff -u -r1.5 .cvsignore
--- .cvsignore  2001/03/20 09:28:46     1.5
+++ .cvsignore  2001/10/16 08:56:55
@@ -12,3 +12,5 @@
 Makefile.in
 configure
 junk
+ABOUT-NLS
+intl
Index: po/.cvsignore
===================================================================
RCS file: /home/lav/cvsroot/lftp/po/.cvsignore,v
retrieving revision 1.2
diff -u -r1.2 .cvsignore
--- po/.cvsignore       2001/03/20 09:21:00     1.2
+++ po/.cvsignore       2001/10/16 08:56:55
@@ -5,3 +5,4 @@
 *.gmo
 stamp-cat-id
 cat-id-tbl.c
+Makefile.in.in
Index: readline-4.2/.cvsignore
===================================================================
RCS file: /home/lav/cvsroot/lftp/readline-4.2/.cvsignore,v
retrieving revision 1.1
diff -u -r1.1 .cvsignore
--- readline-4.2/.cvsignore     2001/04/17 15:34:26     1.1
+++ readline-4.2/.cvsignore     2001/10/16 08:56:55
@@ -3,3 +3,4 @@
 config.h
 config.status
 stamp-h
+configure

Reply via email to