~ubuntu-branches/ubuntu/karmic/kid3/karmic

« back to all changes in this revision

Viewing changes to admin/missing

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Matthäi
  • Date: 2009-05-20 16:12:30 UTC
  • mfrom: (1.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: james.westby@ubuntu.com-20090520161230-qetp532r8ydujkz2
Tags: upstream-1.2
Import upstream version 1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Common stub for a few missing GNU programs while installing.
3
3
 
4
 
scriptversion=2005-06-08.21
 
4
scriptversion=2004-09-07.08
5
5
 
6
 
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
 
6
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004
7
7
#   Free Software Foundation, Inc.
8
8
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
9
9
 
19
19
 
20
20
# You should have received a copy of the GNU General Public License
21
21
# along with this program; if not, write to the Free Software
22
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23
 
# 02110-1301, USA.
 
22
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
23
# 02111-1307, USA.
24
24
 
25
25
# As a special exception to the GNU General Public License, if you
26
26
# distribute this file as part of a program that contains a
87
87
  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
88
88
 
89
89
Send bug reports to <bug-automake@gnu.org>."
90
 
    exit $?
 
90
    exit 0
91
91
    ;;
92
92
 
93
93
  -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
94
94
    echo "missing $scriptversion (GNU Automake)"
95
 
    exit $?
 
95
    exit 0
96
96
    ;;
97
97
 
98
98
  -*)
288
288
         call might also be the consequence of using a buggy \`make' (AIX,
289
289
         DU, IRIX).  You might want to install the \`Texinfo' package or
290
290
         the \`GNU make' package.  Grab either from any GNU archive site."
291
 
    # The file to touch is that specified with -o ...
292
291
    file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
293
292
    if test -z "$file"; then
294
 
      # ... or it is the one specified with @setfilename ...
295
 
      infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
296
 
      file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
297
 
      # ... or it is derived from the source name (dir/f.texi becomes f.info)
298
 
      test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
 
293
      file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
 
294
      file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
299
295
    fi
300
 
    # If the file does not exist, the user really needs makeinfo;
301
 
    # let's fail without touching anything.
302
 
    test -f $file || exit 1
303
296
    touch $file
304
297
    ;;
305
298