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