This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Avoid `touch' in Makefiles
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: PATCH: Avoid `touch' in Makefiles
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Sun, 13 May 2001 21:10:17 +0100 (BST)
- cc: <gcc-patches at gcc dot gnu dot org>, Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
On Sun, 13 May 2001, Mark Mitchell wrote:
> $(srcdir)/gcov.1: $(srcdir)/gcov.texi
> ! touch $(srcdir)/gcov.1
> -$(TEXI2POD) < $(srcdir)/gcov.texi > gcov.pod
> -($(POD2MAN) gcov.pod > $(srcdir)/gcov.1.T$$$$ && \
> mv -f $(srcdir)/gcov.1.T$$$$ $(srcdir)/gcov.1) || \
> --- 2314,2320 ----
> generated-manpages: $(srcdir)/gcov.1 $(srcdir)/cpp.1 $(srcdir)/gcc.1
>
> $(srcdir)/gcov.1: $(srcdir)/gcov.texi
> ! $(STAMP) $(srcdir)/gcov.1
This touch isn't for a dummy timestamp file, but I don't understand what
purpose it (added by dj on the 17th of January) serves anyway - and if my
other makefile/configure changes around then are working properly, this
rule shouldn't normally be being used on systems that can't regenerate the
manpages properly.
--
Joseph S. Myers
jsm28@cam.ac.uk