From 25d87af7016aec6dca3ebe3df5330360494cb335 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 2 Oct 2007 00:08:48 +0200 Subject: [PATCH] Rename dirent_.h to dirent.in.h. --- ChangeLog | 3 +++ lib/{dirent_.h => dirent.in.h} | 0 modules/fchdir | 6 +++--- 3 files changed, 6 insertions(+), 3 deletions(-) rename lib/{dirent_.h => dirent.in.h} (100%) diff --git a/ChangeLog b/ChangeLog index 66f8bd7001..235c0ebf80 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,9 @@ * lib/byteswap.in.h: Renamed from lib/byteswap_.h. * modules/byteswap (Files, Makefile.am): Use byteswap.in.h instead of byteswap_.h. + * lib/dirent.in.h: Renamed from lib/dirent_.h. + * modules/fchdir (Files, Makefile.am): Use dirent.in.h instead of + dirent_.h. 2007-09-30 Bruno Haible diff --git a/lib/dirent_.h b/lib/dirent.in.h similarity index 100% rename from lib/dirent_.h rename to lib/dirent.in.h diff --git a/modules/fchdir b/modules/fchdir index ae562e72ce..5bfaacf435 100644 --- a/modules/fchdir +++ b/modules/fchdir @@ -3,7 +3,7 @@ fchdir() function: change current directory, given an open file descriptor. Files: lib/fchdir.c -lib/dirent_.h +lib/dirent.in.h m4/fchdir.m4 Depends-on: @@ -24,13 +24,13 @@ BUILT_SOURCES += $(DIRENT_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. -dirent.h: dirent_.h +dirent.h: dirent.in.h rm -f $@-t $@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \ -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \ - < $(srcdir)/dirent_.h; \ + < $(srcdir)/dirent.in.h; \ } > $@-t mv $@-t $@ MOSTLYCLEANFILES += dirent.h dirent.h-t -- 2.30.2