From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: P Pareit Newsgroups: gmane.lisp.guile.user Subject: guile-doc-snarf replaced in the Makefile for scwm Date: Tue, 10 Sep 2002 14:34:54 +0200 Sender: guile-user-admin@gnu.org Message-ID: <200209101434.54309.pieter.pareit@planetinternet.be> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1031661267 14558 127.0.0.1 (10 Sep 2002 12:34:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Sep 2002 12:34:27 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17okDp-0003mX-00 for ; Tue, 10 Sep 2002 14:34:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17okDq-0007le-00; Tue, 10 Sep 2002 08:34:26 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17okCi-0007Us-00 for guile-user@gnu.org; Tue, 10 Sep 2002 08:33:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17okCg-0007Ug-00 for guile-user@gnu.org; Tue, 10 Sep 2002 08:33:16 -0400 Original-Received: from c3po.skynet.be ([195.238.3.237]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17okCg-0007UX-00 for guile-user@gnu.org; Tue, 10 Sep 2002 08:33:14 -0400 Original-Received: from localhost.localdomain (130.88-136-217.adsl.skynet.be [217.136.88.130]) by c3po.skynet.be (8.11.6/8.11.6/Skynet-OUT-2.20) with ESMTP id g8ACXA720118 for ; Tue, 10 Sep 2002 14:33:10 +0200 (MET DST) (envelope-from ) Original-To: guile-user@gnu.org User-Agent: KMail/1.4.2 Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:956 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:956 Hey, Sinds newer versions of guile do not provide guile-doc-snarf anymore and = after=20 the comments in guile-user I came up with the following solution: This is the offending code in the original makefile: =2Ec.x: =09guile-doc-snarf $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \ =09|| { rm $@; false; } =2Ecc.x: =09guile-doc-snarf $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \ =09|| { rm $@; false; } =2Ec.doc: =09guile-doc-snarf $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > /dev= /null \ || { rm $@; false; } An this is what I changed it to: =2Ec.x: =09guile-snarf $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \ =09|| { rm $@; false; } =2Ecc.x: =09guile-snarf $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \ =09|| { rm $@; false; } Rational: The documentation says to use guile-snarf to generate the .x files that g= ets=20 included in the initializing functions. This is because guile-doc-snarf used to first generate the documentation = and=20 then called guile-snarf, and so did the work of guile-snarf (see node Doc= =20 Snarfing in info). For the .c.doc rule I was suggested to use guile-tools c2doc, but my=20 installation did not include c2doc and I also did not find documentation = for=20 it. And the rule does not get used so I throw it out. I also think it is not needed to remove the generated files if guile-snar= f=20 fails as guile-snarf will do when given file to output , so I could even=20 change this to: =2Ec.x: =09guile-snarf $< -o $@ $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< =2Ecc.x: =09guile-snarf $< -o $@ $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< If someone could confirm I'm right? This way I can start changing autogen= =2Esh=20 for scwm and send in a patch. pieter; _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user