You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by "Philip M. Gollucci" <pg...@p6m7g8.com> on 2005/04/15 21:58:57 UTC

Re: bin/pod2html and bin/pod2test

Michael G Schwern wrote:

>On Fri, Apr 15, 2005 at 03:22:26PM -0400, Philip M. Gollucci wrote:
>  
>
>>>Instead of fumbling around with executables, just use Pod::Html.  pod2html
>>>is a wafer thin wrapper around it.
>>>
>>>
>>>      
>>>
>>This was for use in acinclude.m4 -> Makefile.am -> Makefile for libapreq2.
>>    
>>
>
>Regardless, use Pod::Html.  Searching for executables is unreliable.  
>MakeMaker does something similar for pod2man.
>
>	POD2HTML = $(PERL) -MPod::Html -wle 'pod2html @ARGV' --
>  
>
ah most excellent.

Thank you!

:)


-- 
END
-----------------------------------------------------------------------------
Philip M. Gollucci
Senior Developer - Liquidity Services Inc.
Phone:  202.568.6268 (Direct)
E-Mail: pgollucci@liquidation.com
Web:    http://www.liquidation.com


Re: [PATCH] Re: bin/pod2html and bin/pod2test

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Philip M. Gollucci wrote:
> 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
Unfortunately this only works for pod2html not pod2test
which I didn't catch until now because of my previous gmake vs make error.


-- 
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

Re: [PATCH] Re: bin/pod2html and bin/pod2test

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Hi,

Appologies, I had svn revert ed the Makefile.am to get a clean diff.
unfortunately, this undid the previous patch of replace perl with @PERL@
in the affected lines; I would just ignore the first one.

(included below)

Email subject:
[PATCH[ top level Makefile.am doesn't use @PERL@ everywhere

Index: Makefile.am
===================================================================
--- Makefile.am (revision 161381)
+++ Makefile.am (working copy)
@@ -57,12 +57,12 @@
         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)

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

[PATCH] Re: bin/pod2html and bin/pod2test

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
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