blob: e0ae86078a5cc6337617cd0774aaa02a76a2c7fb [file] [log] [blame]
Daniel Veillard01791d51998-07-24 19:24:09 +00001## Process this file with automake to produce Makefile.in
2
Daniel Veillarde8282ed2000-10-10 23:01:31 +00003SUBDIRS = include doc
Daniel Veillard19b858c1999-02-06 18:12:01 +00004
Daniel Veillarde8282ed2000-10-10 23:01:31 +00005INCLUDES = -I@srcdir@/include -I./include @Z_CFLAGS@ @CORBA_CFLAGS@
Daniel Veillard14fff061999-06-22 21:49:07 +00006
Daniel Veillard361d8452000-04-03 19:48:13 +00007noinst_PROGRAMS=testSAX testHTML testXPath testURI
Daniel Veillard27fb0751998-10-17 06:47:46 +00008
Daniel Veillard361d8452000-04-03 19:48:13 +00009bin_PROGRAMS = xmllint
Daniel Veillard01791d51998-07-24 19:24:09 +000010
Daniel Veillarda6e1d121998-10-04 14:41:05 +000011bin_SCRIPTS=xml-config
12
Daniel Veillard0dc897e1998-07-26 04:12:22 +000013lib_LTLIBRARIES = libxml.la
Tomasz Kłoczkoae7cb7f2000-02-02 23:51:10 +000014libxml_la_LIBADD = @Z_LIBS@
Daniel Veillard01791d51998-07-24 19:24:09 +000015
Daniel Veillard14fff061999-06-22 21:49:07 +000016libxml_la_LDFLAGS = -version-info @LIBXML_VERSION_INFO@
17
Daniel Veillard0dc897e1998-07-26 04:12:22 +000018libxml_la_SOURCES = \
Daniel Veillard260a68f1998-08-13 03:39:55 +000019 SAX.c \
20 entities.c \
Daniel Veillard891e4041998-10-19 00:43:02 +000021 encoding.c \
Daniel Veillard260a68f1998-08-13 03:39:55 +000022 error.c \
Daniel Veillardb1059e22000-09-16 14:02:43 +000023 parserInternals.c \
Daniel Veillard260a68f1998-08-13 03:39:55 +000024 parser.c \
Daniel Veillard361d8452000-04-03 19:48:13 +000025 tree.c \
26 xmlIO.c \
27 xmlmemory.c \
28 uri.c \
29 valid.c \
30 xlink.c \
Daniel Veillardbe70ff71999-07-05 16:50:46 +000031 HTMLparser.c \
Daniel Veillard1566d3a1999-07-15 14:24:29 +000032 HTMLtree.c \
Daniel Veillardbaf4cd51998-10-27 22:56:57 +000033 debugXML.c \
Daniel Veillard1566d3a1999-07-15 14:24:29 +000034 xpath.c \
Daniel Veillard7f7d1111999-09-22 09:46:25 +000035 nanohttp.c \
Daniel Veillard361d8452000-04-03 19:48:13 +000036 nanoftp.c
Daniel Veillard260a68f1998-08-13 03:39:55 +000037
Daniel Veillard0dc897e1998-07-26 04:12:22 +000038DEPS = $(top_builddir)/libxml.la
Daniel Veillardb05deb71999-08-10 19:04:08 +000039LDADDS = $(top_builddir)/libxml.la @Z_LIBS@ @M_LIBS@
Daniel Veillard01791d51998-07-24 19:24:09 +000040
Daniel Veillard979e55e2000-08-19 16:48:54 +000041man_MANS = xmllint.1 libxml.4
42
Daniel Veillard46057e12000-09-24 18:49:59 +000043m4datadir = $(datadir)/aclocal m4data_DATA = libxml.m4
44
Daniel Veillard361d8452000-04-03 19:48:13 +000045xmllint_SOURCES=xmllint.c
46xmllint_LDFLAGS =
47xmllint_DEPENDENCIES = $(DEPS)
48xmllint_LDADD= @RDL_LIBS@ $(LDADDS)
Daniel Veillard01791d51998-07-24 19:24:09 +000049
Daniel Veillard011b63c1999-06-02 17:44:04 +000050testSAX_SOURCES=testSAX.c
51testSAX_LDFLAGS =
52testSAX_DEPENDENCIES = $(DEPS)
53testSAX_LDADD= $(LDADDS)
54
Daniel Veillardbe70ff71999-07-05 16:50:46 +000055testHTML_SOURCES=testHTML.c
56testHTML_LDFLAGS =
57testHTML_DEPENDENCIES = $(DEPS)
58testHTML_LDADD= $(LDADDS)
59
Daniel Veillard1566d3a1999-07-15 14:24:29 +000060testXPath_SOURCES=testXPath.c
61testXPath_LDFLAGS =
62testXPath_DEPENDENCIES = $(DEPS)
63testXPath_LDADD= $(LDADDS)
64
Daniel Veillard361d8452000-04-03 19:48:13 +000065testURI_SOURCES=testURI.c
66testURI_LDFLAGS =
67testURI_DEPENDENCIES = $(DEPS)
68testURI_LDADD= $(LDADDS)
69
Raja R Harinatha86c23e1999-03-05 22:14:01 +000070check-local: tests
71
Daniel Veillard361d8452000-04-03 19:48:13 +000072$(srcdir)/libxml:
73 -$(RM) $(srcdir)/libxml
74 ln -s $(srcdir)/. $(srcdir)/libxml
75
Daniel Veillardbe803962000-06-28 23:40:59 +000076install-data: $(srcdir)/libxml
77
78$(libxml_la_SOURCES): $(srcdir)/libxml
79
Daniel Veillardf09e7e32000-10-01 15:53:30 +000080testall : tests SVGtests SAXtests
Daniel Veillard011b63c1999-06-02 17:44:04 +000081
Daniel Veillardf09e7e32000-10-01 15:53:30 +000082tests: XMLtests XMLenttests HTMLtests Validtests URItests XPathtests
Daniel Veillardb05deb71999-08-10 19:04:08 +000083
Daniel Veillard82150d81999-07-07 07:32:15 +000084HTMLtests : testHTML
Daniel Veillard87b95392000-08-12 21:12:04 +000085 @(rm -f .memdump ; touch .memdump)
Daniel Veillardb05deb71999-08-10 19:04:08 +000086 @echo "##"
87 @echo "## HTML regression tests"
88 @echo "##"
89 @(for i in $(srcdir)/test/HTML/* ; do \
90 name=`basename $$i`; \
Daniel Veillard82150d81999-07-07 07:32:15 +000091 if [ ! -d $$i ] ; then \
Daniel Veillardb05deb71999-08-10 19:04:08 +000092 if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
93 echo New test file $$name ; \
Daniel Veillard87b95392000-08-12 21:12:04 +000094 testHTML $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
Daniel Veillard82150d81999-07-07 07:32:15 +000095 else \
Daniel Veillardb05deb71999-08-10 19:04:08 +000096 echo Testing $$name ; \
Daniel Veillard87b95392000-08-12 21:12:04 +000097 testHTML $$i > result.$$name 2> error.$$name ; \
98 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
Daniel Veillardb05deb71999-08-10 19:04:08 +000099 diff $(srcdir)/result/HTML/$$name result.$$name ; \
Daniel Veillard87b95392000-08-12 21:12:04 +0000100 diff -b $(srcdir)/result/HTML/$$name.err error.$$name ; \
101 testHTML result.$$name > result2.$$name 2>error.$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000102 diff result.$$name result2.$$name ; \
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000103 rm result.$$name result2.$$name error.$$name ; \
Daniel Veillard82150d81999-07-07 07:32:15 +0000104 fi ; fi ; done)
Daniel Veillard87b95392000-08-12 21:12:04 +0000105 @echo "##"
106 @echo "## Push HTML regression tests"
107 @echo "##"
108 @(for i in $(srcdir)/test/HTML/* ; do \
109 name=`basename $$i`; \
110 if [ ! -d $$i ] ; then \
111 if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
112 echo New test file $$name ; \
113 testHTML $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
114 else \
115 echo Testing $$name ; \
116 testHTML --push $$i > result.$$name 2> error.$$name ; \
117 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
118 diff $(srcdir)/result/HTML/$$name result.$$name ; \
119 cut -b 1-15 $(srcdir)/result/HTML/$$name.err > errorcut.$$name; \
120 cut -b 1-15 error.$$name > errorcut2.$$name; \
121 diff -b errorcut.$$name errorcut2.$$name ; \
122 testHTML --push result.$$name > result2.$$name 2>error.$$name ; \
123 diff result.$$name result2.$$name ; \
124 rm result.$$name result2.$$name error.$$name errorcut.$$name errorcut2.$$name ; \
125 fi ; fi ; done)
126 @echo "##"
127 @echo "## HTML SAX regression tests"
128 @echo "##"
129 @(for i in $(srcdir)/test/HTML/* ; do \
130 name=`basename $$i`; \
131 if [ ! -d $$i ] ; then \
132 if [ ! -f $(srcdir)/result/HTML/$$name.sax ] ; then \
133 echo New test file $$name ; \
134 testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
135 else \
136 echo Testing $$name ; \
137 testHTML --sax $$i > result.$$name.sax ; \
138 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
139 diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax ; \
140 rm result.$$name.sax ; \
141 fi ; fi ; done)
142 @echo "##"
143 @echo "## Push HTML SAX regression tests"
144 @echo "##"
145 @(for i in $(srcdir)/test/HTML/* ; do \
146 name=`basename $$i`; \
147 if [ ! -d $$i ] ; then \
148 if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
149 echo New test file $$name ; \
150 testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
151 else \
152 echo Testing $$name ; \
153 testHTML --push --sax $$i > result.$$name.sax ; \
154 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
155 diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax ; \
156 rm result.$$name.sax ; \
157 fi ; fi ; done)
158
Daniel Veillard82150d81999-07-07 07:32:15 +0000159
Daniel Veillard361d8452000-04-03 19:48:13 +0000160XMLtests : xmllint
Daniel Veillardb05deb71999-08-10 19:04:08 +0000161 @echo "##"
162 @echo "## XML regression tests"
163 @echo "##"
164 @(for i in $(srcdir)/test/* ; do \
165 name=`basename $$i`; \
Daniel Veillard01791d51998-07-24 19:24:09 +0000166 if [ ! -d $$i ] ; then \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000167 if [ ! -f $(srcdir)/result/$$name ] ; then \
168 echo New test file $$name ; \
Daniel Veillard361d8452000-04-03 19:48:13 +0000169 $(top_builddir)/xmllint $$i > $(srcdir)/result/$$name ; \
Daniel Veillard01791d51998-07-24 19:24:09 +0000170 else \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000171 echo Testing $$name ; \
Daniel Veillard361d8452000-04-03 19:48:13 +0000172 $(top_builddir)/xmllint $$i > result.$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000173 diff $(srcdir)/result/$$name result.$$name ; \
Daniel Veillard361d8452000-04-03 19:48:13 +0000174 $(top_builddir)/xmllint result.$$name > result2.$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000175 diff result.$$name result2.$$name ; \
176 rm result.$$name result2.$$name ; \
Daniel Veillard01791d51998-07-24 19:24:09 +0000177 fi ; fi ; done)
178
Daniel Veillard361d8452000-04-03 19:48:13 +0000179XMLenttests : xmllint
Daniel Veillardb05deb71999-08-10 19:04:08 +0000180 @echo "##"
181 @echo "## XML entity subst regression tests"
182 @echo "##"
183 @(for i in $(srcdir)/test/* ; do \
184 name=`basename $$i`; \
Daniel Veillard011b63c1999-06-02 17:44:04 +0000185 if [ ! -d $$i ] ; then \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000186 if [ ! -f $(srcdir)/result/noent/$$name ] ; then \
187 echo New test file $$name ; \
Daniel Veillard361d8452000-04-03 19:48:13 +0000188 $(top_builddir)/xmllint --noent $$i > $(srcdir)/result/noent/$$name ; \
Daniel Veillard011b63c1999-06-02 17:44:04 +0000189 else \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000190 echo Testing $$name ; \
Daniel Veillard361d8452000-04-03 19:48:13 +0000191 $(top_builddir)/xmllint --noent $$i > result.$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000192 diff $(srcdir)/result/noent/$$name result.$$name ; \
Daniel Veillard361d8452000-04-03 19:48:13 +0000193 $(top_builddir)/xmllint --noent result.$$name > result2.$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000194 diff result.$$name result2.$$name ; \
195 rm result.$$name result2.$$name ; \
Daniel Veillard011b63c1999-06-02 17:44:04 +0000196 fi ; fi ; done)
197
Daniel Veillard98a79162000-09-04 11:15:39 +0000198URItests : testURI
199 @(rm -f .memdump ; touch .memdump)
200 @echo "##"
201 @echo "## URI module regression tests"
202 @echo "##"
203 @(for i in $(srcdir)/test/URI/*.data ; do \
204 name=`basename $$i`; \
205 if [ ! -d $$i ] ; then \
206 if [ ! -f $(srcdir)/result/URI/$$name ] ; then \
207 echo New test file $$name ; \
Daniel Veillard90e11312000-09-05 10:42:32 +0000208 $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i > $(srcdir)/result/URI/$$name ; \
Daniel Veillard98a79162000-09-04 11:15:39 +0000209 else \
210 echo Testing $$name ; \
Daniel Veillard90e11312000-09-05 10:42:32 +0000211 $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i > result.$$name ; \
Daniel Veillard98a79162000-09-04 11:15:39 +0000212 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
213 diff $(srcdir)/result/URI/$$name result.$$name ; \
214 rm result.$$name ; \
215 fi ; fi ; done)
216
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000217XPathtests : testXPath
Daniel Veillardb05deb71999-08-10 19:04:08 +0000218 @echo "##"
219 @echo "## XPath regression tests"
220 @echo "##"
221 @(for i in $(srcdir)/test/XPath/expr/* ; do \
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000222 name=`basename $$i`; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000223 if [ ! -d $$i ] ; then \
224 if [ ! -f $(srcdir)/result/XPath/expr/$$name ] ; then \
225 echo New test file $$name ; \
CEST 1999 Timur Bakeyev6db3cb01999-09-04 20:25:14 +0000226 $(top_builddir)/testXPath -f --expr $$i > $(srcdir)/result/XPath/expr/$$name ; \
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000227 else \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000228 echo Testing $$name ; \
CEST 1999 Timur Bakeyev6db3cb01999-09-04 20:25:14 +0000229 $(top_builddir)/testXPath -f --expr $$i > result.$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000230 diff $(srcdir)/result/XPath/expr/$$name result.$$name ; \
231 rm result.$$name ; \
232 fi ; fi ; done)
233 @(for i in $(srcdir)/test/XPath/docs/* ; do \
234 if [ ! -d $$i ] ; then \
235 doc=`basename $$i`; \
236 for j in $(srcdir)/test/XPath/tests/$$doc* ; do \
237 name=`basename $$j`; \
238 if [ ! -d $$j ] ; then \
239 if [ ! -f $(srcdir)/result/XPath/tests/$$name ] ; then \
240 echo New test file $$name ; \
CEST 1999 Timur Bakeyev6db3cb01999-09-04 20:25:14 +0000241 $(top_builddir)/testXPath -f -i $$i $$j > $(srcdir)/result/XPath/tests/$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000242 else \
243 echo Testing $$name ; \
CEST 1999 Timur Bakeyev6db3cb01999-09-04 20:25:14 +0000244 $(top_builddir)/testXPath -f -i $$i $$j > result.$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000245 diff $(srcdir)/result/XPath/tests/$$name result.$$name ; \
246 rm result.$$name ; \
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000247 fi ; fi ; done ; fi ; done)
248
Daniel Veillard361d8452000-04-03 19:48:13 +0000249SVGtests : xmllint
Daniel Veillardb05deb71999-08-10 19:04:08 +0000250 @echo "##"
251 @echo "## SVG parsing regression tests"
252 @echo "##"
253 @(for i in $(srcdir)/test/SVG/* ; do \
254 name=`basename $$i`; \
Daniel Veillard011b63c1999-06-02 17:44:04 +0000255 if [ ! -d $$i ] ; then \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000256 if [ ! -f $(srcdir)/result/SVG/$$name ] ; then \
257 echo New test file $$name ; \
Daniel Veillard361d8452000-04-03 19:48:13 +0000258 $(top_builddir)/xmllint $$i > $(srcdir)/result/SVG/$$name ; \
Daniel Veillard011b63c1999-06-02 17:44:04 +0000259 else \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000260 echo Testing $$name ; \
Daniel Veillard361d8452000-04-03 19:48:13 +0000261 $(top_builddir)/xmllint $$i > result.$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000262 diff $(srcdir)/result/SVG/$$name result.$$name ; \
Daniel Veillard361d8452000-04-03 19:48:13 +0000263 $(top_builddir)/xmllint result.$$name > result2.$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000264 diff result.$$name result2.$$name ; \
265 rm result.$$name result2.$$name ; \
Daniel Veillard011b63c1999-06-02 17:44:04 +0000266 fi ; fi ; done)
267
Daniel Veillardb05deb71999-08-10 19:04:08 +0000268SAXtests : testSAX
269 @echo "##"
270 @echo "## SAX callbacks regression tests"
271 @echo "##"
272 @(for i in $(srcdir)/test/* ; do \
273 name=`basename $$i`; \
274 if [ ! -d $$i ] ; then \
275 if [ ! -f $(srcdir)/SAXresult/$$name ] ; then \
276 echo New test file $$name ; \
CEST 1999 Timur Bakeyev6db3cb01999-09-04 20:25:14 +0000277 $(top_builddir)/testSAX $$i > $(srcdir)/SAXresult/$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000278 else \
279 echo Testing $$name ; \
CEST 1999 Timur Bakeyev6db3cb01999-09-04 20:25:14 +0000280 $(top_builddir)/testSAX $$i > result.$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000281 diff $(srcdir)/SAXresult/$$name result.$$name ; \
282 rm result.$$name ; \
283 fi ; fi ; done)
Arturo Espinosa15fe6e71998-09-07 17:27:57 +0000284
Arturo Espinosa15fe6e71998-09-07 17:27:57 +0000285
Daniel Veillard361d8452000-04-03 19:48:13 +0000286Validtests : xmllint
Daniel Veillardb05deb71999-08-10 19:04:08 +0000287 @echo "##"
288 @echo "## Validity checking regression tests"
289 @echo "##"
290 @(for i in $(srcdir)/test/VC/* ; do \
291 name=`basename $$i`; \
292 if [ ! -d $$i ] ; then \
293 if [ ! -f $(srcdir)/result/VC/$$name ] ; then \
294 echo New test file $$name ; \
Daniel Veillard361d8452000-04-03 19:48:13 +0000295 $(top_builddir)/xmllint --noout --valid $$i 2> $(srcdir)/result/VC/$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000296 else \
297 echo Testing $$name ; \
Daniel Veillard361d8452000-04-03 19:48:13 +0000298 $(top_builddir)/xmllint --noout --valid $$i 2> result.$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000299 diff $(srcdir)/result/VC/$$name result.$$name ; \
300 rm result.$$name ; \
301 fi ; fi ; done)
302 @echo "##"
303 @echo "## Valid documents regression tests"
304 @echo "##"
305 @(for i in $(srcdir)/test/valid/* ; do \
306 name=`basename $$i`; \
307 if [ ! -d $$i ] ; then \
308 if [ ! -f $(srcdir)/result/valid/$$name ] ; then \
309 echo New test file $$name ; \
Daniel Veillard361d8452000-04-03 19:48:13 +0000310 $(top_builddir)/xmllint --valid $$i > $(srcdir)/result/valid/$$name 2>$(srcdir)/result/valid/$$name.err ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000311 else \
312 echo Testing $$name ; \
Daniel Veillard361d8452000-04-03 19:48:13 +0000313 $(top_builddir)/xmllint --valid $$i > result.$$name 2>error.$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000314 diff $(srcdir)/result/valid/$$name result.$$name ; \
Daniel Veillard35008381999-10-25 13:15:52 +0000315 diff $(srcdir)/result/valid/$$name.err error.$$name ; \
316 rm result.$$name error.$$name ; \
Daniel Veillardb05deb71999-08-10 19:04:08 +0000317 fi ; fi ; done)
Arturo Espinosa15fe6e71998-09-07 17:27:57 +0000318
Elliot Leeca848471999-09-24 16:18:00 +0000319dist-hook: libxml.spec
Daniel Veillard9ec78f72000-01-05 16:31:25 +0000320 -cp libxml.spec $(distdir)
321 (cd $(srcdir) ; tar -cf - --exclude CVS test result SAXresult ) | (cd $(distdir); tar xf -)
Michael Fulbright63dc42c1999-02-21 21:20:12 +0000322
Arturo Espinosa15fe6e71998-09-07 17:27:57 +0000323## We create xmlConf.sh here and not from configure because we want
324## to get the paths expanded correctly. Macros like srcdir are given
325## the value NONE in configure if the user doesn't specify them (this
326## is an autoconf feature, not a bug).
327
Daniel Veillardb556eb51999-08-15 17:19:50 +0000328confexecdir=$(libdir)
329confexec_DATA = xmlConf.sh
330
Elliot Lee56316b01999-08-23 18:18:32 +0000331CLEANFILES=xmlConf.sh
332
Daniel Veillardb556eb51999-08-15 17:19:50 +0000333confexecdir=$(libdir)
334confexec_DATA = xmlConf.sh
Daniel Veillard46057e12000-09-24 18:49:59 +0000335EXTRA_DIST = xmlConf.sh.in libxml.spec.in libxml.spec libxml.m4 \
Daniel Veillard979e55e2000-08-19 16:48:54 +0000336 example/Makefile.am example/gjobread.c example/gjobs.xml \
Daniel Veillarde8282ed2000-10-10 23:01:31 +0000337 $(man_MANS) libxml-2.0.pc.in include/libxml/*.h xmlversion.h.in \
338 win32/README.MSDev win32/Makefile.mingw win32/libxml2/libxml2.dsp
Martin Bauligdd7d1f62000-09-29 23:17:57 +0000339
Martin Baulig1b478d12000-09-30 02:27:55 +0000340pkgconfigdir = $(libdir)/pkgconfig
Martin Bauligdd7d1f62000-09-29 23:17:57 +0000341pkgconfig_DATA = libxml-2.0.pc
Daniel Veillardb556eb51999-08-15 17:19:50 +0000342
Arturo Espinosa15fe6e71998-09-07 17:27:57 +0000343xmlConf.sh: xmlConf.sh.in Makefile
344## Use sed and then mv to avoid problems if the user interrupts.
Miguel de Icaza60681bd1998-09-30 19:28:59 +0000345 sed -e 's?\@XML_LIBDIR\@?$(XML_LIBDIR)?g' \
346 -e 's?\@XML_INCLUDEDIR\@?$(XML_INCLUDEDIR)?g' \
347 -e 's?\@XML_LIBS\@?$(XML_LIBS)?g' \
Daniel Veillard6077d031999-10-09 09:11:45 +0000348 -e 's?\@VERSION\@?$(VERSION)?g' \
Arturo Espinosa15fe6e71998-09-07 17:27:57 +0000349 < $(srcdir)/xmlConf.sh.in > xmlConf.tmp \
350 && mv xmlConf.tmp xmlConf.sh