Annotation of XML/Makefile.am, revision 1.6

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

Webmaster