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