From 391e5adff016bcc7c0e981dbdc856e1f33e5e81e Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Wed, 30 May 2012 21:49:16 +0000 Subject: [PATCH] Convert calls to 'sed' to calls to 'perl' git-svn-id: http://svn.osgeo.org/postgis/trunk@9829 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/Makefile.in b/doc/Makefile.in index fc3c0014c..c2d054019 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -20,6 +20,7 @@ INSTALL_DATA=@INSTALL_DATA@ XSLTPROC=@XSLTPROC@ XSLBASE=@XSLBASE@ XMLLINT=@XMLLINT@ +PERL=@PERL@ # To allow network access use: # @@ -140,7 +141,8 @@ tiger_geocoder_cheatsheet.html: ./xsl/tiger_geocoder_cheatsheet.html.xsl $(XML_I $(XSLTPROC) ./xsl/tiger_geocoder_cheatsheet.html.xsl postgis-out.xml > $@ postgis-out.xml: postgis.xml Makefile - cat $< | sed -e "s/@@LAST_RELEASE_VERSION@@/${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}/g" -e "s;@@MATHML_PATH@@;${MATHML2_DTD};g" > $@ + $(PERL) -lpe "s'@@LAST_RELEASE_VERSION@@'${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}'g" $< | \ + $(PERL) -lpe "s'@@MATHML_PATH@@'${MATHML2_DTD}'g" > $@ chunked-html: postgis-out.xml Makefile images $(XML_INPUTS) $(XSLTPROC) $(XSLTPROC_COMMONOPTS) $(XSLTPROC_HTMLOPTS) \ @@ -179,7 +181,7 @@ postgis-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSIO pdf: postgis-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}.pdf doxygen.cfg: doxygen.cfg.in - cat $< | sed "s/@@LAST_RELEASE_VERSION@@/${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}/g" > $@ + $(PERL) -lpe "s'@@LAST_RELEASE_VERSION@@'${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}'g" $< > $@ doxygen: doxygen.cfg doxygen $< -- 2.40.0