This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Avoid `touch' in Makefiles


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]