]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: remove unnecessary files from getopt
authorSami Kerola <kerolasa@iki.fi>
Sun, 12 Jun 2011 23:10:11 +0000 (01:10 +0200)
committerSami Kerola <kerolasa@iki.fi>
Sat, 25 Jun 2011 14:19:29 +0000 (16:19 +0200)
The Linux Software Map (lsm) file is not maintained, and the test
scripts where more confusing than advicing.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
getopt/Makefile.am
getopt/getopt-1.1.3.lsm [deleted file]
getopt/getopt-test.bash [deleted file]
getopt/getopt-test.tcsh [deleted file]

index bd3e7942ce07fc46b98b0a6d4d8b7973c1d23f2e..7c1b66b2c0c6df390eb4adff147be1a36171944e 100644 (file)
@@ -4,8 +4,7 @@ usrbin_exec_PROGRAMS = getopt
 dist_man_MANS = getopt.1
 
 exampledir = $(datadir)/getopt/
-dist_example_SCRIPTS = getopt-parse.bash getopt-parse.tcsh \
-       getopt-test.bash getopt-test.tcsh
+dist_example_SCRIPTS = getopt-parse.bash getopt-parse.tcsh
 
 EXTRA_DIST = README Changelog COPYING
 
diff --git a/getopt/getopt-1.1.3.lsm b/getopt/getopt-1.1.3.lsm
deleted file mode 100644 (file)
index 5849700..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-Begin3
-Title: Getopt
-Version: 1.1.3
-Entered-date: 23JAN02
-Description: An improved implementation of getopt(1), a program to parse
-             options within a shell script. Fully compatible with other
-             getopt(1) implementations, but with many additions like
-             long options and mixing of options and parameters.
-Keywords: getopt script parse bash tcsh
-Author: frodol@dds.nl (Frodo Looijaard)
-Primary-site: http://huizen.dds.nl/~frodol
-              28kB getopt-1.1.3.tar.gz
-              689  getopt-1.1.3.lsm
-Copying-policy: GPL
-End
-
diff --git a/getopt/getopt-test.bash b/getopt/getopt-test.bash
deleted file mode 100755 (executable)
index 149e1f9..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-if `getopt -T >/dev/null 2>&1` ; [ $? = 4 ] ; then
-  echo "Enhanced getopt(1)"
-else
-  echo "Old getopt(1)"
-fi
diff --git a/getopt/getopt-test.tcsh b/getopt/getopt-test.tcsh
deleted file mode 100755 (executable)
index d661e76..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/tcsh
-getopt -T >&/dev/null
-if ( $status == 4) then
-  echo "Enhanced getopt(1)"
-else
-  echo "Old getopt(1)"
-endif