httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject cvs commit: httpd-apreq-2 Makefile.am
Date Thu, 26 Aug 2004 15:58:47 GMT
joes        2004/08/26 08:58:47

  Modified:    .        Makefile.am
  Log:
  Ensure % make release builds the pod2test test files, to avoid burdening users with a Test::Inline
prereq.
  
  Revision  Changes    Path
  1.33      +6 -3      httpd-apreq-2/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/Makefile.am,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- Makefile.am	29 Jul 2004 18:08:32 -0000	1.32
  +++ Makefile.am	26 Aug 2004 15:58:47 -0000	1.33
  @@ -7,7 +7,7 @@
   APR_DOX = (cd $(APR_SRCDIR); cat docs/doxygen.conf - | doxygen -)
   SED_BODY_TAG= s(^[\S\s]+<body.+|</body>[\S\s]+$$)()gi, s(href="/Apache(?:/\w+)*/([^/]+).html")(href="group__apreq__xs__\L$$1.html")g
   EUM=ExtUtils::Manifest
  -
  +POD_DIR=glue/perl/docs
   bin_SCRIPTS = apreq2-config
   CLEANFILES = $(bin_SCRIPTS)
   
  @@ -17,7 +17,7 @@
   PERL_TEST = 
   endif
   
  -release: reconfig docs_clean docs distdir
  +release: reconfig docs_clean docs pod2test distdir
   	@PERL@ build/version_check.pl > $(distdir)/PREREQUISITES
   	@PERL@ build/version_check.pl -version=@PACKAGE_VERSION@ > $(distdir)/META.yml
   	echo MANIFEST > $(distdir)/MANIFEST
  @@ -50,7 +50,7 @@
   	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
   	cp -a docs $(DESTDIR)$(pkgdatadir)
   
  -%.html: glue/perl/docs/%.pod Makefile.am 
  +%.html: $(POD_DIR)/%.pod Makefile.am 
   	pod2html < $< | perl -0777 -pe '$(SED_BODY_TAG)' > $@
   
   pod2html :: Request.html Cookie.html Upload.html Table.html Error.html FAQ.html
  @@ -58,7 +58,10 @@
   FAQ.html: Makefile.am FAQ.pod
   	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)
   
  +pod2test :: $(POD_DIR)/Request.t $(POD_DIR)/Cookie.t $(POD_DIR)/Upload.t $(POD_DIR)/Error.t
$(POD_DIR)/Table.t
   
   apr_tags: docs/apr.tag docs/apu.tag
   
  
  
  

Mime
View raw message