From 2652a32d3640b6a344adc5797080d8de4ae663a8 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 16 Jan 2004 06:15:39 +0000 Subject: [PATCH] * modules/poll: Add BUILT_SOURCES. Prefer "$@" to "poll.h" in rule for building poll.h. All this is for consistency with alloca and fnmatch. --- ChangeLog | 6 ++++++ modules/poll | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6853921e20..93e13f5fc6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-01-15 Paul Eggert + + * modules/poll: Add BUILT_SOURCES. + Prefer "$@" to "poll.h" in rule for building poll.h. + All this is for consistency with alloca and fnmatch. + 2003-12-03 Bruno Haible Upgrade from gettext-0.13. diff --git a/modules/poll b/modules/poll index ef2c8d9130..9e59f79607 100644 --- a/modules/poll +++ b/modules/poll @@ -12,14 +12,15 @@ configure.ac: gl_FUNC_POLL Makefile.am: +BUILT_SOURCES += $(POLL_H) EXTRA_DIST += poll_.h # We need the following in order to create an when the system # doesn't have one. all-local $(lib_OBJECTS): $(POLL_H) poll.h: poll_.h - cp $(srcdir)/poll_.h poll.h-t - mv poll.h-t poll.h + cp $(srcdir)/poll_.h $@-t + mv $@-t $@ MOSTLYCLEANFILES += poll.h poll.h-t Include: -- 2.30.2