projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing module dependencies.
[gnulib.git]
/
modules
/
getopt
diff --git
a/modules/getopt
b/modules/getopt
index
8acf0fb
..
39751bf
100644
(file)
--- a/
modules/getopt
+++ b/
modules/getopt
@@
-2,7
+2,7
@@
Description:
Process command line arguments.
Files:
Process command line arguments.
Files:
-lib/getopt
_
.h
+lib/getopt
.in
.h
lib/getopt.c
lib/getopt1.c
lib/getopt_int.h
lib/getopt.c
lib/getopt1.c
lib/getopt_int.h
@@
-17,15
+17,14
@@
gl_GETOPT
Makefile.am:
BUILT_SOURCES += $(GETOPT_H)
Makefile.am:
BUILT_SOURCES += $(GETOPT_H)
-EXTRA_DIST += getopt_.h getopt_int.h
# We need the following in order to create <getopt.h> when the system
# doesn't have one that works with the given compiler.
# We need the following in order to create <getopt.h> when the system
# doesn't have one that works with the given compiler.
-getopt.h: getopt
_
.h
- rm -f $@-t $@
- cp $(srcdir)/getopt_.h $@-t
-
chmod a-w
$@-t
- mv $@-t $@
+getopt.h: getopt
.in
.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/getopt.in.h; \
+
} >
$@-t
+ mv
-f
$@-t $@
MOSTLYCLEANFILES += getopt.h getopt.h-t
Include:
MOSTLYCLEANFILES += getopt.h getopt.h-t
Include: