summaryrefslogtreecommitdiff
path: root/modules/time
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-10-02 00:39:46 +0200
committerBruno Haible <bruno@clisp.org>2007-10-02 00:39:46 +0200
commit9ac0b22ea04bd638026bc0047f7ad714092d02cc (patch)
tree5d0d99472b7a2c77d34c51c68c193e92ab130aab /modules/time
parent882eb279d46373c3de620fd74504c8502f9297a0 (diff)
downloadgnulib-9ac0b22ea04bd638026bc0047f7ad714092d02cc.tar.gz
Rename time_.h to time.in.h.
Diffstat (limited to 'modules/time')
-rw-r--r--modules/time6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/time b/modules/time
index b69ed57807..9cdfa4c936 100644
--- a/modules/time
+++ b/modules/time
@@ -2,7 +2,7 @@ Description:
A more-standard <time.h>.
Files:
-lib/time_.h
+lib/time.in.h
m4/time_h.m4
Depends-on:
@@ -17,7 +17,7 @@ BUILT_SOURCES += time.h
# We need the following in order to create <time.h> when the system
# doesn't have one that works with the given compiler.
-time.h: time_.h
+time.h: time.in.h
rm -f $@-t $@
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
@@ -28,7 +28,7 @@ time.h: time_.h
-e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
-e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
-e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
- < $(srcdir)/time_.h; \
+ < $(srcdir)/time.in.h; \
} > $@-t
mv $@-t $@
MOSTLYCLEANFILES += time.h time.h-t