[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] poll patch for BUILT_SOURCES, $@
From: |
Paul Eggert |
Subject: |
[Bug-gnulib] poll patch for BUILT_SOURCES, $@ |
Date: |
15 Jan 2004 22:18:11 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
There being no objection to my minor proposal for modules/poll in August
<http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00132.html>
I installed the following patch.
2004-01-15 Paul Eggert <address@hidden>
* modules/poll: Add BUILT_SOURCES.
Prefer "$@" to "poll.h" in rule for building poll.h.
All this is for consistency with alloca and fnmatch.
Index: modules/poll
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/poll,v
retrieving revision 1.3
diff -p -u -r1.3 poll
--- modules/poll 4 Nov 2003 10:24:35 -0000 1.3
+++ modules/poll 16 Jan 2004 06:14:55 -0000
@@ -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 <poll.h> 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 address@hidden
+ mv address@hidden $@
MOSTLYCLEANFILES += poll.h poll.h-t
Include:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnulib] poll patch for BUILT_SOURCES, $@,
Paul Eggert <=