summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-07-31 16:20:27 +0200
committerBruno Haible <bruno@clisp.org>2010-07-31 16:20:27 +0200
commit18bc22d6510355da4160789980b6831d0fe888d0 (patch)
tree876039fdddc7b23db38ec7a3d01fc2639c4843fc
parent6676cd901ebffe806000d9e7e459ccabe2e80195 (diff)
downloadgnulib-18bc22d6510355da4160789980b6831d0fe888d0.tar.gz
posix-modules: Ignore backup files of documentation files.
-rw-r--r--ChangeLog5
-rwxr-xr-xposix-modules6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 77ce23a042..b0d7104152 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2010-07-31 Bruno Haible <bruno@clisp.org>
+ posix-modules: Ignore backup files of documentation files.
+ * posix-modules: grep only through files named *.texi.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
symlinkat: Fix documentation.
* doc/posix-functions/readlinkat.texi: Fix module name.
diff --git a/posix-modules b/posix-modules
index 19670a481f..46de93d260 100755
--- a/posix-modules
+++ b/posix-modules
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright (C) 2002-2010 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 \