X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=posix-modules;h=46de93d26059583ce423458f8c71c83518711b62;hb=6a0e461a8a5d9352c2fde6f8f5b16b47b8c53bf3;hp=2aa4c8eb11f596bb3cd646ef1a1eaab2367d94f6;hpb=bf236140fa6a1c6f2ca5a3f5611c6f9ddea0fb58;p=gnulib.git diff --git a/posix-modules b/posix-modules index 2aa4c8eb1..46de93d26 100755 --- a/posix-modules +++ b/posix-modules @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2002-2008 Free Software Foundation, Inc. +# Copyright (C) 2002-2008, 2010 Free 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 @@ -249,10 +249,10 @@ done func_gnulib_dir ( # Get the header modules. - LC_ALL=C grep -h '^Gnulib module: ' "$gnulib_dir"/doc/posix-headers/* 2>/dev/null \ + LC_ALL=C grep -h '^Gnulib module: ' "$gnulib_dir"/doc/posix-headers/*.texi 2>/dev/null \ | sed -e 's,^Gnulib module: ,,' # Get the function modules. - LC_ALL=C grep -h '^Gnulib module: ' "$gnulib_dir"/doc/posix-functions/* 2>/dev/null \ + LC_ALL=C grep -h '^Gnulib module: ' "$gnulib_dir"/doc/posix-functions/*.texi 2>/dev/null \ | sed -e 's,^Gnulib module: ,,' # Then filter out the words "---", ",", "and", "or" and remove *-gnu modules. ) | sed -e 's/,/ /g' | LC_ALL=C sort | LC_ALL=C uniq \