Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 87320 invoked from network); 17 Apr 2005 00:22:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Apr 2005 00:22:02 -0000 Received: (qmail 81860 invoked by uid 500); 17 Apr 2005 00:22:01 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 81829 invoked by uid 500); 17 Apr 2005 00:22:01 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 81815 invoked by uid 99); 17 Apr 2005 00:22:01 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=FORGED_RCVD_HELO,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from c66-236-219-70.ip.panth.com (HELO piccollo.p6m7g8.net) (66.236.219.70) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 16 Apr 2005 17:21:59 -0700 Received: from [192.168.0.113] (pcp09580450pcs.rtchrd01.md.comcast.net [68.48.19.131]) (authenticated bits=0) by piccollo.p6m7g8.net (8.13.3/8.13.3) with ESMTP id j3H0M1hn045253 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Sat, 16 Apr 2005 20:22:01 -0400 (EDT) (envelope-from pgollucci@p6m7g8.com) Message-ID: <4261AC1A.1020009@p6m7g8.com> Date: Sat, 16 Apr 2005 20:21:46 -0400 From: "Philip M. Gollucci" User-Agent: Mozilla Thunderbird 1.0 (X11/20050325) X-Accept-Language: en-us, en MIME-Version: 1.0 To: apreq Developers Subject: [PATCH] Re: bin/pod2html and bin/pod2test References: <425FE6E5.8080707@p6m7g8.com> <20050415190714.GA24793@windhund.schwern.org> <42601472.10106@p6m7g8.com> <20050415193539.GA25331@windhund.schwern.org> <42601D01.9080102@p6m7g8.com> In-Reply-To: <42601D01.9080102@p6m7g8.com> Content-Type: multipart/mixed; boundary="------------050907000805000409070601" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------050907000805000409070601 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Philip M. Gollucci wrote: > Michael G Schwern wrote: >> Regardless, use Pod::Html. Searching for executables is unreliable. >> MakeMaker does something similar for pod2man. >> >> POD2HTML = $(PERL) -MPod::Html -wle 'pod2html @ARGV' -- >> patch attached for pod2html and pod2test -- END ------------------------------------------------------ Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Developer / Liquidity Services, Inc. http://www.liquidityservicesinc.com --------------050907000805000409070601 Content-Type: text/plain; name="pods.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pods.diff" Index: Makefile.am =================================================================== --- Makefile.am (revision 161613) +++ Makefile.am (working copy) @@ -14,6 +14,8 @@ SED_BODY_TAG= s(^[\S\s]+[\S\s]+$$)()gi, s(href="/Apache(?:/\w+)*/([^/]+).html")(href="group__apreq__xs__\L$$1.html")g EUM=ExtUtils::Manifest POD_DIR=glue/perl/docs +POD2HTML = @PERL@ -MPod::Html -wle 'pod2html @ARGV' +POD2TEST = @PERL@ -MPod::Test -wle 'pod2test @ARGV' bin_SCRIPTS = apreq2-config CLEANFILES = $(bin_SCRIPTS) @@ -57,15 +59,15 @@ cp -a docs $(DESTDIR)$(pkgdatadir) %.html: $(POD_DIR)/%.pod Makefile.am - pod2html < $< | perl -0777 -pe '$(SED_BODY_TAG)' > $@ + $(POD2HTML) $< | perl -0777 -pe '$(SED_BODY_TAG)' > $@ pod2html :: Request.html Cookie.html Upload.html Table.html Error.html FAQ.html FAQ.html: Makefile.am FAQ.pod - pod2html < FAQ.pod | perl -0777 -pe '$(SED_BODY_TAG)' > FAQ.html + $(POD2HTML) FAQ.pod | perl -0777 -pe '$(SED_BODY_TAG)' > FAQ.html $(POD_DIR)/%.t: $(POD_DIR)/%.pod - (cd glue/perl ; pod2test docs/$*.pod docs/$*.t) + (cd glue/perl ; $(POD2TEST) docs/$*.pod docs/$*.t) pod2test :: $(POD_DIR)/Request.t $(POD_DIR)/Cookie.t $(POD_DIR)/Upload.t $(POD_DIR)/Error.t $(POD_DIR)/Table.t --------------050907000805000409070601--