From root@gits.dyndns.org  Thu Jul  4 18:32:27 2002
Return-Path: <root@gits.dyndns.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D952F37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Jul 2002 18:32:27 -0700 (PDT)
Received: from smtp.noos.fr (verlaine.noos.net [212.198.2.73])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E0EC543E31
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Jul 2002 18:32:26 -0700 (PDT)
	(envelope-from root@gits.dyndns.org)
Received: (qmail 28311749 invoked by uid 0); 5 Jul 2002 01:32:25 -0000
Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.229.153]) (envelope-sender <root@gits.dyndns.org>)
          by 212.198.2.73 (qmail-ldap-1.03) with SMTP
          for <FreeBSD-gnats-submit@freebsd.org>; 5 Jul 2002 01:32:25 -0000
Received: from gits.gits.dyndns.org (8h6432k69eifvxvh@localhost [127.0.0.1])
	by gits.gits.dyndns.org (8.12.4/8.12.4) with ESMTP id g651WNtY021732
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 5 Jul 2002 03:32:24 +0200 (CEST)
	(envelope-from root@gits.dyndns.org)
Received: (from root@localhost)
	by gits.gits.dyndns.org (8.12.4/8.12.4/Submit) id g651WLxe021728;
	Fri, 5 Jul 2002 03:32:21 +0200 (CEST)
	(envelope-from root)
Message-Id: <200207050132.g651WLxe021728@gits.gits.dyndns.org>
Date: Fri, 5 Jul 2002 03:32:21 +0200 (CEST)
From: Cyrille Lefevre <cyrille.lefevre@laposte.net>
Reply-To: Cyrille Lefevre <cyrille.lefevre@laposte.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: www/en/gnome: type in Makefile
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         40207
>Category:       docs
>Synopsis:       www/en/gnome: type in Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 04 18:40:01 PDT 2002
>Closed-Date:    Mon Jul 08 14:34:53 PDT 2002
>Last-Modified:  Mon Jul 08 14:34:53 PDT 2002
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
ACME
>Environment:
System: FreeBSD gits 4.6-STABLE FreeBSD 4.6-STABLE #15: Sun Jun 23 06:31:23 CEST 2002 root@gits:/disk2/freebsd/src/sys/compile/CUSTOM i386

>Description:
	index.html! -> index.html:
	index.html -> ${.TARGET}
>How-To-Repeat:
	make
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/www/en/gnome/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile	21 May 2002 09:15:41 -0000	1.10
+++ Makefile	5 Jul 2002 01:30:16 -0000
@@ -19,11 +19,11 @@
 CLEANFILES=	index.html
 CLEANFILES+=	newsflash.html
 
-index.html! index.xsl news.xml includes.xsl ../includes.xsl
-	${XSLTPROC} ${XSLTPROCOPTS:N-nonet} -o index.html \
+index.html: index.xsl news.xml includes.xsl ../includes.xsl
+	${XSLTPROC} ${XSLTPROCOPTS:N-nonet} -o ${.TARGET} \
 		${.CURDIR}/index.xsl ${.CURDIR}/news.xml
 .if !defined(NO_TIDY)
-	-${TIDY} ${TIDYOPTS} index.html
+	-${TIDY} ${TIDYOPTS} ${.TARGET}
 .endif
 
 newsflash.html: newsflash.xsl news.xml includes.xsl ../includes.xsl
>Release-Note:
>Audit-Trail:

From: Peter Pentchev <roam@ringlet.net>
To: Cyrille Lefevre <cyrille.lefevre@laposte.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: docs/40207: www/en/gnome: type in Makefile
Date: Fri, 5 Jul 2002 09:13:57 +0300

 On Fri, Jul 05, 2002 at 03:32:21AM +0200, Cyrille Lefevre wrote:
 >=20
 > >Number:         40207
 > >Category:       docs
 > >Synopsis:       www/en/gnome: type in Makefile
 > >Originator:     Cyrille Lefevre
 > >Description:
 > 	index.html! -> index.html:
 
 I believe this part is not a typo; 'target! dependencies' is valid
 make(1) syntax.  It is used to always regenerate the target, no matter
 if the dependencies have been up-to-date; in this case, the xsltproc
 invocation always fetches the RDF file from the GNOME website - make(1)
 has no way to determine whether the remote file has changed, so
 index.html is always regenerated.
 
 > 	index.html -> ${.TARGET}
 
 This part may be worthwhile.
 
 G'luck,
 Peter
 
 --=20
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 This sentence every third, but it still comprehensible.
State-Changed-From-To: open->closed 
State-Changed-By: trhodes 
State-Changed-When: Mon Jul 8 14:34:21 PDT 2002 
State-Changed-Why:  
Not a bug, functionality ;) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40207 
>Unformatted:
