summaryrefslogtreecommitdiff
path: root/modules/getopt-posix
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-04-08 23:48:02 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-04-09 00:52:20 -0700
commitffc927eef29016a5219cd969daad8928af6a1f4d (patch)
tree057a1de75bb262adaf99e10f1a5f3ea5731f0481 /modules/getopt-posix
parent4172365d89eb1f404d43740dcbdb1aef599f8e14 (diff)
downloadgnulib-ffc927eef29016a5219cd969daad8928af6a1f4d.tar.gz
getopt: prefer - to _ in new file names
* lib/getopt-cdefs.in.h: Rename from lib/getopt_cdefs.in.h. * lib/getopt-core.h: Rename from lib/getopt_core.h. * lib/getopt-ext.h: Rename from lib/getopt_ext.h. * lib/getopt-pfx-core.h: Rename from lib/getopt_pfx_core.h. * lib/getopt-pfx-ext.h: Rename from lib/getopt_pfx_ext.h. All uses changed.
Diffstat (limited to 'modules/getopt-posix')
-rw-r--r--modules/getopt-posix16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/getopt-posix b/modules/getopt-posix
index 220875641c..a7825635af 100644
--- a/modules/getopt-posix
+++ b/modules/getopt-posix
@@ -5,12 +5,12 @@ Files:
lib/getopt.c
lib/getopt1.c
lib/getopt.in.h
-lib/getopt_cdefs.in.h
-lib/getopt_core.h
-lib/getopt_ext.h
+lib/getopt-cdefs.in.h
+lib/getopt-core.h
+lib/getopt-ext.h
+lib/getopt-pfx-core.h
+lib/getopt-pfx-ext.h
lib/getopt_int.h
-lib/getopt_pfx_core.h
-lib/getopt_pfx_ext.h
m4/getopt.m4
Depends-on:
@@ -49,15 +49,15 @@ getopt.h: getopt.in.h $(top_builddir)/config.status
} > $@-t && \
mv -f $@-t $@
-getopt_cdefs.h: getopt_cdefs.in.h $(top_builddir)/config.status
+getopt-cdefs.h: getopt-cdefs.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
- < $(srcdir)/getopt_cdefs.in.h; \
+ < $(srcdir)/getopt-cdefs.in.h; \
} > $@-t && \
mv -f $@-t $@
-MOSTLYCLEANFILES += getopt.h getopt.h-t getopt_cdefs.h getopt_cdefs.h-t
+MOSTLYCLEANFILES += getopt.h getopt.h-t getopt-cdefs.h getopt-cdefs.h-t
Include:
<unistd.h>