Makefile.am revision 450296070e14629141738fbb34b9a0ad13af1f02
1## Process this file with automake to produce Makefile.in 2 3# Dependancies are fucked in make distcheck could not find why :-( 4AUTOMAKE_OPTIONS=no-dependencies 5 6SUBDIRS = include . doc example 7 8INCLUDES = -I@srcdir@/include -I$(top_builddir)/include @Z_CFLAGS@ 9 10noinst_PROGRAMS=testSAX testHTML testXPath testURI testDocbook 11 12bin_PROGRAMS = xmllint xmlcatalog 13 14bin_SCRIPTS=xml2-config 15 16lib_LTLIBRARIES = libxml2.la 17libxml2_la_LIBADD = @Z_LIBS@ -lm 18 19libxml2_la_LDFLAGS = -version-info @LIBXML_VERSION_INFO@ 20 21if WITH_TRIO_SOURCES 22libxml2_la_SOURCES = SAX.c entities.c encoding.c error.c parserInternals.c \ 23 parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c \ 24 valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c \ 25 xpointer.c xinclude.c nanohttp.c nanoftp.c DOCBparser.c \ 26 catalog.c trionan.c strio.c trio.c 27 28else 29libxml2_la_SOURCES = SAX.c entities.c encoding.c error.c parserInternals.c \ 30 parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c \ 31 valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c \ 32 xpointer.c xinclude.c nanohttp.c nanoftp.c DOCBparser.c \ 33 catalog.c trionan.c 34 35endif 36 37DEPS = $(top_builddir)/libxml2.la 38LDADDS = $(top_builddir)/libxml2.la @Z_LIBS@ $(ICONV_LIBS) -lm 39 40man_MANS = xmllint.1 xml2-config.1 libxml.4 41 42m4datadir = $(datadir)/aclocal 43m4data_DATA = libxml.m4 44 45xmllint_SOURCES=xmllint.c 46xmllint_LDFLAGS = 47xmllint_DEPENDENCIES = $(DEPS) 48xmllint_LDADD= @RDL_LIBS@ $(LDADDS) 49 50testSAX_SOURCES=testSAX.c 51testSAX_LDFLAGS = 52testSAX_DEPENDENCIES = $(DEPS) 53testSAX_LDADD= $(LDADDS) 54 55testHTML_SOURCES=testHTML.c 56testHTML_LDFLAGS = 57testHTML_DEPENDENCIES = $(DEPS) 58testHTML_LDADD= $(LDADDS) 59 60testDocbook_SOURCES=testDocbook.c 61testDocbook_LDFLAGS = 62testDocbook_DEPENDENCIES = $(DEPS) 63testDocbook_LDADD= $(LDADDS) 64 65xmlcatalog_SOURCES=xmlcatalog.c 66xmlcatalog_LDFLAGS = 67xmlcatalog_DEPENDENCIES = $(DEPS) 68xmlcatalog_LDADD= $(LDADDS) 69 70testXPath_SOURCES=testXPath.c 71testXPath_LDFLAGS = 72testXPath_DEPENDENCIES = $(DEPS) 73testXPath_LDADD= $(LDADDS) 74 75testURI_SOURCES=testURI.c 76testURI_LDFLAGS = 77testURI_DEPENDENCIES = $(DEPS) 78testURI_LDADD= $(LDADDS) 79 80check-local: tests 81 82testall : tests SVGtests SAXtests 83 84tests: XMLtests XMLenttests HTMLtests Validtests URItests XPathtests XPtrtests XIncludetests Scripttests 85 86HTMLtests : testHTML 87 @(echo > .memdump) 88 @echo "##" 89 @echo "## HTML regression tests" 90 @echo "##" 91 @(for i in $(srcdir)/test/HTML/* ; do \ 92 name=`basename $$i`; \ 93 if [ ! -d $$i ] ; then \ 94 if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \ 95 echo New test file $$name ; \ 96 $(top_builddir)/testHTML $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \ 97 else \ 98 echo Testing $$name ; \ 99 $(top_builddir)/testHTML $$i > result.$$name 2> error.$$name ; \ 100 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 101 diff $(srcdir)/result/HTML/$$name result.$$name ; \ 102 diff -b $(srcdir)/result/HTML/$$name.err error.$$name ; \ 103 $(top_builddir)/testHTML result.$$name > result2.$$name 2>error.$$name ; \ 104 diff result.$$name result2.$$name ; \ 105 rm result.$$name result2.$$name error.$$name ; \ 106 fi ; fi ; done) 107 @echo "##" 108 @echo "## Push HTML regression tests" 109 @echo "##" 110 @(for i in $(srcdir)/test/HTML/* ; do \ 111 name=`basename $$i`; \ 112 if [ ! -d $$i ] ; then \ 113 if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \ 114 echo New test file $$name ; \ 115 $(top_builddir)/testHTML $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \ 116 else \ 117 echo Testing $$name ; \ 118 $(top_builddir)/testHTML --push $$i > result.$$name 2> error.$$name ; \ 119 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 120 diff $(srcdir)/result/HTML/$$name result.$$name ; \ 121 cut -b 1-15 $(srcdir)/result/HTML/$$name.err > errorcut.$$name; \ 122 cut -b 1-15 error.$$name > errorcut2.$$name; \ 123 diff -b errorcut.$$name errorcut2.$$name ; \ 124 $(top_builddir)/testHTML --push result.$$name > result2.$$name 2>error.$$name ; \ 125 diff result.$$name result2.$$name ; \ 126 rm result.$$name result2.$$name error.$$name errorcut.$$name errorcut2.$$name ; \ 127 fi ; fi ; done) 128 @echo "##" 129 @echo "## HTML SAX regression tests" 130 @echo "##" 131 @(for i in $(srcdir)/test/HTML/* ; do \ 132 name=`basename $$i`; \ 133 if [ ! -d $$i ] ; then \ 134 if [ ! -f $(srcdir)/result/HTML/$$name.sax ] ; then \ 135 echo New test file $$name ; \ 136 $(top_builddir)/testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \ 137 else \ 138 echo Testing $$name ; \ 139 $(top_builddir)/testHTML --sax $$i > result.$$name.sax ; \ 140 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 141 diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax ; \ 142 rm result.$$name.sax ; \ 143 fi ; fi ; done) 144 @echo "##" 145 @echo "## Push HTML SAX regression tests" 146 @echo "##" 147 @(for i in $(srcdir)/test/HTML/* ; do \ 148 name=`basename $$i`; \ 149 if [ ! -d $$i ] ; then \ 150 if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \ 151 echo New test file $$name ; \ 152 $(top_builddir)/testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \ 153 else \ 154 echo Testing $$name ; \ 155 $(top_builddir)/testHTML --push --sax $$i > result.$$name.sax ; \ 156 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 157 diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax ; \ 158 rm result.$$name.sax ; \ 159 fi ; fi ; done) 160 161 162XMLtests : xmllint 163 @(echo > .memdump) 164 @echo "##" 165 @echo "## XML regression tests" 166 @echo "##" 167 @echo "## You should see one warning on entity 'title.xml' for ent2" 168 @echo "##" 169 @(for i in $(srcdir)/test/* ; do \ 170 name=`basename $$i`; \ 171 if [ ! -d $$i ] ; then \ 172 if [ ! -f $(srcdir)/result/$$name ] ; then \ 173 echo New test file $$name ; \ 174 $(top_builddir)/xmllint $$i > $(srcdir)/result/$$name ; \ 175 else \ 176 echo Testing $$name ; \ 177 $(top_builddir)/xmllint $$i > result.$$name ; \ 178 diff $(srcdir)/result/$$name result.$$name ; \ 179 $(top_builddir)/xmllint result.$$name > result2.$$name ; \ 180 diff result.$$name result2.$$name ; \ 181 rm result.$$name result2.$$name ; \ 182 fi ; fi ; done) 183 @(echo > .memdump) 184 @echo "##" 185 @echo "## XML push regression tests" 186 @echo "##" 187 @echo "## You should see one warning on entity 'title.xml' for ent2" 188 @echo "##" 189 @(for i in $(srcdir)/test/* ; do \ 190 name=`basename $$i`; \ 191 if [ ! -d $$i ] ; then \ 192 if [ ! -f $(srcdir)/result/$$name ] ; then \ 193 echo New test file $$name ; \ 194 $(top_builddir)/xmllint --push $$i > $(srcdir)/result/$$name ; \ 195 else \ 196 echo Testing $$name ; \ 197 $(top_builddir)/xmllint --push $$i > result.$$name ; \ 198 diff $(srcdir)/result/$$name result.$$name ; \ 199 $(top_builddir)/xmllint --push result.$$name > result2.$$name ; \ 200 diff result.$$name result2.$$name ; \ 201 rm result.$$name result2.$$name ; \ 202 fi ; fi ; done) 203 @echo "##" 204 @echo "## XML regression tests on memory" 205 @echo "##" 206 @echo "## You should see two warnings on entity 'title.xml' for ent2" 207 @echo "##" 208 @(for i in $(srcdir)/test/* ; do \ 209 name=`basename $$i`; \ 210 if [ ! -d $$i ] ; then \ 211 if [ ! -f $(srcdir)/result/$$name ] ; then \ 212 echo New test file $$name ; \ 213 $(top_builddir)/xmllint --memory $$i > $(srcdir)/result/$$name ; \ 214 else \ 215 echo Testing $$name ; \ 216 $(top_builddir)/xmllint --memory $$i > result.$$name ; \ 217 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 218 diff $(srcdir)/result/$$name result.$$name ; \ 219 $(top_builddir)/xmllint --memory result.$$name > result2.$$name ; \ 220 diff result.$$name result2.$$name ; \ 221 rm result.$$name result2.$$name ; \ 222 fi ; fi ; done) 223 224XMLenttests : xmllint 225 @(echo > .memdump) 226 @echo "##" 227 @echo "## XML entity subst regression tests" 228 @echo "##" 229 @(for i in $(srcdir)/test/* ; do \ 230 name=`basename $$i`; \ 231 if [ ! -d $$i ] ; then \ 232 if [ ! -f $(srcdir)/result/noent/$$name ] ; then \ 233 echo New test file $$name ; \ 234 $(top_builddir)/xmllint --noent $$i > $(srcdir)/result/noent/$$name ; \ 235 else \ 236 echo Testing $$name ; \ 237 $(top_builddir)/xmllint --noent $$i > result.$$name ; \ 238 diff $(srcdir)/result/noent/$$name result.$$name ; \ 239 $(top_builddir)/xmllint --noent result.$$name > result2.$$name ; \ 240 diff result.$$name result2.$$name ; \ 241 rm result.$$name result2.$$name ; \ 242 fi ; fi ; done) 243 244URItests : testURI 245 @(echo > .memdump) 246 @echo "##" 247 @echo "## URI module regression tests" 248 @echo "##" 249 @(for i in $(srcdir)/test/URI/*.data ; do \ 250 name=`basename $$i`; \ 251 if [ ! -d $$i ] ; then \ 252 if [ ! -f $(srcdir)/result/URI/$$name ] ; then \ 253 echo New test file $$name ; \ 254 $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i > $(srcdir)/result/URI/$$name ; \ 255 else \ 256 echo Testing $$name ; \ 257 $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i > result.$$name ; \ 258 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 259 diff $(srcdir)/result/URI/$$name result.$$name ; \ 260 rm result.$$name ; \ 261 fi ; fi ; done) 262 @(for i in $(srcdir)/test/URI/*.uri ; do \ 263 name=`basename $$i`; \ 264 if [ ! -d $$i ] ; then \ 265 if [ ! -f $(srcdir)/result/URI/$$name ] ; then \ 266 echo New test file $$name ; \ 267 $(top_builddir)/testURI < $$i > $(srcdir)/result/URI/$$name ; \ 268 else \ 269 echo Testing $$name ; \ 270 $(top_builddir)/testURI < $$i > result.$$name ; \ 271 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 272 diff $(srcdir)/result/URI/$$name result.$$name ; \ 273 rm result.$$name ; \ 274 fi ; fi ; done) 275 276XPathtests : testXPath 277 @(echo > .memdump) 278 @echo "##" 279 @echo "## XPath regression tests" 280 @echo "##" 281 @(if [ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \ 282 then echo Skipping debug not compiled in ; exit 0 ; fi ; \ 283 for i in $(srcdir)/test/XPath/expr/* ; do \ 284 name=`basename $$i`; \ 285 if [ ! -d $$i ] ; then \ 286 if [ ! -f $(srcdir)/result/XPath/expr/$$name ] ; then \ 287 echo New test file $$name ; \ 288 $(top_builddir)/testXPath -f --expr $$i > $(srcdir)/result/XPath/expr/$$name ; \ 289 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 290 else \ 291 echo Testing $$name ; \ 292 $(top_builddir)/testXPath -f --expr $$i > result.$$name ; \ 293 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 294 diff $(srcdir)/result/XPath/expr/$$name result.$$name ; \ 295 rm result.$$name ; \ 296 fi ; fi ; done ; \ 297 for i in $(srcdir)/test/XPath/docs/* ; do \ 298 if [ ! -d $$i ] ; then \ 299 doc=`basename $$i`; \ 300 for j in $(srcdir)/test/XPath/tests/$$doc* ; do \ 301 if [ ! -f $$j ] ; then continue ; fi ; \ 302 name=`basename $$j`; \ 303 if [ ! -d $$j ] ; then \ 304 if [ ! -f $(srcdir)/result/XPath/tests/$$name ] ; then \ 305 echo New test file $$name ; \ 306 $(top_builddir)/testXPath -f -i $$i $$j > $(srcdir)/result/XPath/tests/$$name ; \ 307 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 308 else \ 309 echo Testing $$name ; \ 310 $(top_builddir)/testXPath -f -i $$i $$j > result.$$name ; \ 311 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 312 diff $(srcdir)/result/XPath/tests/$$name result.$$name ; \ 313 rm result.$$name ; \ 314 fi ; fi ; done ; fi ; done) 315 316XPtrtests : testXPath 317 @(echo > .memdump) 318 @echo "##" 319 @echo "## XPointer regression tests" 320 @echo "##" 321 @(if [ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \ 322 then echo Skipping debug not compiled in ; exit 0 ; fi ; \ 323 for i in $(srcdir)/test/XPath/docs/* ; do \ 324 if [ ! -d $$i ] ; then \ 325 doc=`basename $$i`; \ 326 for j in $(srcdir)/test/XPath/xptr/$$doc* ; do \ 327 if [ ! -f $$j ] ; then continue ; fi ; \ 328 name=`basename $$j`; \ 329 if [ ! -d $$j ] ; then \ 330 if [ ! -f $(srcdir)/result/XPath/xptr/$$name ] ; then \ 331 echo New test file $$name ; \ 332 ./testXPath -xptr -f -i $$i $$j > $(srcdir)/result/XPath/xptr/$$name ; \ 333 else \ 334 echo Testing $$name ; \ 335 ./testXPath -xptr -f -i $$i $$j > result.$$name ; \ 336 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 337 diff $(srcdir)/result/XPath/xptr/$$name result.$$name ; \ 338 rm result.$$name ; \ 339 fi ; fi ; done ; fi ; done) 340 341XIncludetests : xmllint 342 @(echo > .memdump) 343 @echo "##" 344 @echo "## XInclude regression tests" 345 @echo "##" 346 @(for i in $(srcdir)/test/XInclude/docs/* ; do \ 347 name=`basename $$i`; \ 348 if [ ! -d $$i ] ; then \ 349 if [ ! -f $(srcdir)/result/XInclude/$$name ] ; then \ 350 echo New test file $$name ; \ 351 $(top_builddir)/xmllint --xinclude $$i > $(srcdir)/result/XInclude/$$name ; \ 352 else \ 353 echo Testing $$name ; \ 354 $(top_builddir)/xmllint --xinclude $$i > result.$$name ; \ 355 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 356 diff $(srcdir)/result/XInclude/$$name result.$$name ; \ 357 rm result.$$name ; \ 358 fi ; fi ; done) 359 360Scripttests : xmllint 361 @(echo > .memdump) 362 @echo "##" 363 @echo "## Scripts regression tests" 364 @echo "## Some of the base computations may be different if srcdir != ." 365 @echo "##" 366 @(for i in $(srcdir)/test/scripts/*.script ; do \ 367 name=`basename $$i .script`; \ 368 xml=$(srcdir)/test/scripts/`basename $$i .script`.xml; \ 369 if [ -f $$xml ] ; then \ 370 if [ ! -f $(srcdir)/result/scripts/$$name ] ; then \ 371 echo New test file $$name ; \ 372 $(top_builddir)/xmllint --shell $$xml < $$i > $(srcdir)/result/scripts/$$name ; \ 373 else \ 374 echo Testing $$name ; \ 375 $(top_builddir)/xmllint --shell $$xml < $$i > result.$$name ; \ 376 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 377 diff $(srcdir)/result/scripts/$$name result.$$name ; \ 378 rm result.$$name ; \ 379 fi ; fi ; done) 380 381SVGtests : xmllint 382 @echo "##" 383 @echo "## SVG parsing regression tests" 384 @echo "##" 385 @(for i in $(srcdir)/test/SVG/* ; do \ 386 name=`basename $$i`; \ 387 if [ ! -d $$i ] ; then \ 388 if [ ! -f $(srcdir)/result/SVG/$$name ] ; then \ 389 echo New test file $$name ; \ 390 $(top_builddir)/xmllint $$i > $(srcdir)/result/SVG/$$name ; \ 391 else \ 392 echo Testing $$name ; \ 393 $(top_builddir)/xmllint $$i > result.$$name ; \ 394 diff $(srcdir)/result/SVG/$$name result.$$name ; \ 395 $(top_builddir)/xmllint result.$$name > result2.$$name ; \ 396 diff result.$$name result2.$$name ; \ 397 rm result.$$name result2.$$name ; \ 398 fi ; fi ; done) 399 400SAXtests : testSAX 401 @(echo > .memdump) 402 @echo "##" 403 @echo "## SAX callbacks regression tests" 404 @echo "##" 405 @(for i in $(srcdir)/test/* ; do \ 406 name=`basename $$i`; \ 407 if [ ! -d $$i ] ; then \ 408 if [ ! -f $(srcdir)/SAXresult/$$name ] ; then \ 409 echo New test file $$name ; \ 410 $(top_builddir)/testSAX $$i > $(srcdir)/SAXresult/$$name ; \ 411 else \ 412 echo Testing $$name ; \ 413 $(top_builddir)/testSAX $$i > result.$$name ; \ 414 diff $(srcdir)/SAXresult/$$name result.$$name ; \ 415 rm result.$$name ; \ 416 fi ; fi ; done) 417 418 419Validtests : xmllint 420 @(echo > .memdump) 421 @echo "##" 422 @echo "## Valid documents regression tests" 423 @echo "##" 424 @(for i in $(srcdir)/test/VCM/* ; do \ 425 name=`basename $$i`; \ 426 if [ ! -d $$i ] ; then \ 427 echo Testing $$name ; \ 428 $(top_builddir)/xmllint --valid --noout --nowarning $$i ; \ 429 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 430 fi ; done ; exit 0) 431 @echo "##" 432 @echo "## Validity checking regression tests" 433 @echo "##" 434 @(for i in $(srcdir)/test/VC/* ; do \ 435 name=`basename $$i`; \ 436 if [ ! -d $$i ] ; then \ 437 if [ ! -f $(srcdir)/result/VC/$$name ] ; then \ 438 echo New test file $$name ; \ 439 $(top_builddir)/xmllint --noout --valid $$i 2> $(srcdir)/result/VC/$$name ; \ 440 else \ 441 echo Testing $$name ; \ 442 $(top_builddir)/xmllint --noout --valid $$i 2> result.$$name ; \ 443 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 444 diff $(srcdir)/result/VC/$$name result.$$name ; \ 445 rm result.$$name ; \ 446 fi ; fi ; done) 447 @echo "##" 448 @echo "## General documents valid regression tests" 449 @echo "##" 450 @(for i in $(srcdir)/test/valid/* ; do \ 451 name=`basename $$i`; \ 452 if [ ! -d $$i ] ; then \ 453 if [ ! -f $(srcdir)/result/valid/$$name ] ; then \ 454 echo New test file $$name ; \ 455 $(top_builddir)/xmllint --valid $$i > $(srcdir)/result/valid/$$name 2>$(srcdir)/result/valid/$$name.err ; \ 456 else \ 457 echo Testing $$name ; \ 458 $(top_builddir)/xmllint --valid $$i > result.$$name 2>error.$$name ; \ 459 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\ 460 diff $(srcdir)/result/valid/$$name result.$$name ; \ 461 diff $(srcdir)/result/valid/$$name.err error.$$name ; \ 462 rm result.$$name error.$$name ; \ 463 fi ; fi ; done) 464 465dist-hook: libxml.spec 466 -cp libxml.spec $(distdir) 467 (cd $(srcdir) ; tar -cf - --exclude CVS win32 test result SAXresult ) | (cd $(distdir); tar xf -) 468 469cleantar: 470 @(rm -f libxslt*.tar.gz) 471 472rpm: cleantar distcheck 473 rpm -ta $(distdir).tar.gz 474 475## We create xml2Conf.sh here and not from configure because we want 476## to get the paths expanded correctly. Macros like srcdir are given 477## the value NONE in configure if the user doesn't specify them (this 478## is an autoconf feature, not a bug). 479 480confexecdir=$(libdir) 481confexec_DATA = xml2Conf.sh 482 483CLEANFILES=xml2Conf.sh 484 485confexecdir=$(libdir) 486confexec_DATA = xml2Conf.sh 487EXTRA_DIST = xml2-config.in xml2Conf.sh.in libxml.spec.in libxml.spec \ 488 libxml.m4 \ 489 example/Makefile.am example/gjobread.c example/gjobs.xml \ 490 $(man_MANS) libxml-2.0.pc.in \ 491 vms/build_libxml.com vms/config.vms \ 492 strio.c strio.h trio.c trio.h triop.h libxml.h 493 494pkgconfigdir = $(libdir)/pkgconfig 495pkgconfig_DATA = libxml-2.0.pc 496 497#xml2Conf.sh: xml2Conf.sh.in Makefile 498### Use sed and then mv to avoid problems if the user interrupts. 499# sed -e 's?\@XML_LIBDIR\@?$(XML_LIBDIR)?g' \ 500# -e 's?\@XML_INCLUDEDIR\@?$(XML_INCLUDEDIR)?g' \ 501# -e 's?\@XML_LIBS\@?$(XML_LIBS)?g' \ 502# -e 's?\@VERSION\@?$(VERSION)?g' \ 503# < $(srcdir)/xml2Conf.sh.in > xml2Conf.tmp \ 504# && mv xml2Conf.tmp xml2Conf.sh 505