Root/yacas/patches/001_static_definition.patch

1diff -crB yacas-1.2.2old/configure.in yacas-1.2.2new/configure.in
2*** yacas-1.2.2old/configure.in 2007-09-27 15:21:46.000000000 +0200
3--- yacas-1.2.2new/configure.in 2010-05-01 00:25:08.000000000 +0200
4***************
5*** 235,240 ****
6      scripts/Makefile
7      JavaYacas/Makefile
8      tests/Makefile
9! manmake/Makefile
10      src/Makefile)
11  
12--- 235,240 ----
13      scripts/Makefile
14      JavaYacas/Makefile
15      tests/Makefile
16! #manmake/Makefile
17      src/Makefile)
18  
19diff -crB yacas-1.2.2old/Makefile.am yacas-1.2.2new/Makefile.am
20*** yacas-1.2.2old/Makefile.am 2007-09-16 21:53:44.000000000 +0200
21--- yacas-1.2.2new/Makefile.am 2010-05-01 00:34:16.000000000 +0200
22***************
23*** 9,15 ****
24  ## suite in "tests". In addition, one of the tests to be run is generated in
25  ## "manmake".
26  
27! SUBDIRS = . docs src scripts manmake tests JavaYacas
28  
29  ## A script to be installed in the directory for binaries
30  bin_SCRIPTS =
31--- 9,15 ----
32  ## suite in "tests". In addition, one of the tests to be run is generated in
33  ## "manmake".
34  
35! SUBDIRS = . docs src scripts tests JavaYacas
36  
37  ## A script to be installed in the directory for binaries
38  bin_SCRIPTS =
39***************
40*** 25,36 ****
41  # the "distcheck" target does "make dvi", we want it to build the texdocs
42  dvi: texdocs
43  
44- texdocs:
45- cd manmake ; make ps-docs pdf-docs
46-
47- # this target will create all HTML docs in case they are disabled by configure
48-
49- htmldocs:
50- cd manmake; make manicon.html
51-
52  
53--- 25,28 ----
54diff -crB yacas-1.2.2old/Makefile.in yacas-1.2.2new/Makefile.in
55*** yacas-1.2.2old/Makefile.in 2007-09-27 15:24:37.000000000 +0200
56--- yacas-1.2.2new/Makefile.in 2010-05-01 00:33:54.000000000 +0200
57***************
58*** 99,105 ****
59  psdir = @psdir@
60  scriptdir = @scriptdir@
61  
62! SUBDIRS = . docs src scripts manmake tests JavaYacas
63  
64  bin_SCRIPTS =
65  
66--- 99,105 ----
67  psdir = @psdir@
68  scriptdir = @scriptdir@
69  
70! SUBDIRS = . docs src scripts tests JavaYacas
71  
72  bin_SCRIPTS =
73  
74***************
75*** 470,482 ****
76  # the "distcheck" target does "make dvi", we want it to build the texdocs
77  dvi: texdocs
78  
79- texdocs:
80- cd manmake ; make ps-docs pdf-docs
81-
82- # this target will create all HTML docs in case they are disabled by configure
83-
84- htmldocs:
85- cd manmake; make manicon.html
86- # Tell versions [3.59,3.63) of GNU make to not export all variables.
87- # Otherwise a system limit (for SysV at least) may be exceeded.
88  .NOEXPORT:
89--- 470,473 ----
90diff -crB yacas-1.2.2old/manmake/Makefile.am yacas-1.2.2new/manmake/Makefile.am
91*** yacas-1.2.2old/manmake/Makefile.am 2007-09-16 21:53:45.000000000 +0200
92--- yacas-1.2.2new/manmake/Makefile.am 2010-05-01 00:27:47.000000000 +0200
93***************
94*** 1,250 ****
95! ## Makefile.am -- Process this file with automake to produce Makefile.in
96  
97! # $(srcdir) is the manmake/ directory and $(top_srcdir) is the Yacas tree
98! # so this file should work even if we are building Yacas in a different directory
99  
100! # newly compiled version of yacas in ../src (not necessarily under $(srcdir))
101! ouryacas = ../src/yacas --rootdir $(top_srcdir)/scripts/:../scripts/
102  
103! # top target
104! ## BOOKS_HTML is either "manicon.html" or empty
105! ## PS_DOCS is either "ps-docs" or empty
106! ## PDF_DOCS is either "pdf-docs" or empty
107! all-am: @BOOKS_HTML@ @PS_DOCS@ @PDF_DOCS@ hints
108  
109! noinst_PROGRAMS = manripper removeduplicates
110  
111! manripper_SOURCES = manripper.cpp
112  
113! removeduplicates_SOURCES = removeduplicates.cpp
114  
115! hints: manripper removeduplicates $(REFSOURCES) $(REFPROGSOURCES) ref.book.txt refprog.book.txt
116! rm -f hints.unsorted
117! for file in ref.book.txt $(REFSOURCES) refprog.book.txt $(REFPROGSOURCES); do \
118! ./manripper $(srcdir)/"$$file" >> hints.unsorted ; done
119! sort -t ":" hints.unsorted > hints.sorted
120! ./removeduplicates hints.sorted hints.singlesorted
121! echo "::::" > tail.txt
122! cat hints.singlesorted tail.txt > hints
123  
124! ## ytxt2tex is to be installed in $(bindir).
125! bin_SCRIPTS = ytxt2tex
126! ## It needs the following scripts:
127! ytxt2tex_DEPS = book2TeX.sh book2TeX.ys txt2yacasdoc.pl
128  
129! BOOKS = intro.book coding.book ref.book refprog.book essays.book \
130! Algo.book
131  
132! BOOKSOURCES = intro.book.txt coding.book.txt ref.book.txt refprog.book.txt \
133! essays.book.txt Algo.book.txt
134  
135! PS_DOCS = intro.book.ps coding.book.ps essays.book.ps ref.book.ps \
136! refprog.book.ps Algo.book.ps
137  
138! PDF_DOCS = intro.book.pdf coding.book.pdf essays.book.pdf ref.book.pdf \
139! refprog.book.pdf Algo.book.pdf
140  
141! # refprog.html is not listed because it is generated together with ref.html
142! HTMLBOOKS = intromanual.html codingmanual.html essaysmanual.html refmanual.html refprogmanual.html \
143! Algomanual.html
144  
145! INTROCHAPTERS = FDL.chapt cl-options.chapt config.chapt addons.chapt
146  
147  
148  
149! INTROSOURCES = FDL.chapt.txt cl-options.chapt.txt config.chapt.txt addons.chapt.txt
150  
151  
152! ALGOCHAPTERS = algo-basic.chapt algo-numapprox.chapt \
153! algorithms-elemfunc.chapt algorithms-specfunc.chapt \
154! algorithms-numtheory.chapt algorithms-integration.chapt \
155! algorithms-multivar.chapt SturmSequences.chapt FDL.chapt \
156! algo-refs.chapt algo-contfrac.chapt algorithms-transforms.chapt
157  
158! ALGOSOURCES = algo-basic.chapt.txt algo-numapprox.chapt.txt \
159! algorithms-elemfunc.chapt.txt algorithms-specfunc.chapt.txt \
160! algorithms-numtheory.chapt.txt algorithms-integration.chapt.txt \
161! algorithms-multivar.chapt.txt SturmSequences.chapt.txt FDL.chapt.txt \
162! algo-refs.chapt.txt algo-contfrac.chapt.txt algorithms-transforms.chapt.txt
163  
164! REFCHAPTERS = arith.chapt calc.chapt complex.chapt solvers.chapt simplify.chapt ode.chapt linalg.chapt \
165! univar.chapt lists.chapt functional.chapt controlflow.chapt \
166! preds.chapt logic.chapt const.chapt vars.chapt io.chapt \
167! numtheory.chapt strings.chapt transforms.chapt cl-options.chapt \
168! probability-and-statistics.chapt FDL.chapt
169  
170! REFSOURCES = arith.chapt.txt calc.chapt.txt complex.chapt.txt \
171! solvers.chapt.txt simplify.chapt.txt ode.chapt.txt \
172! linalg.chapt.txt univar.chapt.txt lists.chapt.txt cl-options.chapt.txt \
173! functional.chapt.txt controlflow.chapt.txt preds.chapt.txt \
174! logic.chapt.txt const.chapt.txt vars.chapt.txt io.chapt.txt \
175! numtheory.chapt.txt strings.chapt.txt transforms.chapt.txt \
176! probability-and-statistics.chapt.txt FDL.chapt.txt
177  
178  
179! REFPROGCHAPTERS = FDL.chapt glossary.chapt \
180! GPL.chapt numerics.chapt
181! # GPL.chapt has no .txt source
182! REFPROGSOURCES = FDL.chapt.txt glossary.chapt.txt \
183! numerics.chapt.txt
184  
185! CODINGCHAPTERS = YacasDebugger.chapt FDL.chapt
186! CODINGSOURCES = YacasDebugger.chapt.txt FDL.chapt.txt
187  
188! ESSAYCHAPTERS = ABIN-grammar.chapt \
189! SimpleTools.chapt CVS-Howto.chapt YacasDocs.chapt \
190! wester-1994.chapt new.chapt paper.chapt \
191! wordproblems.chapt FDL.chapt BuildSystem.chapt
192  
193! ESSAYSOURCES = ABIN-grammar.chapt.txt \
194! SimpleTools.chapt.txt CVS-Howto.chapt.txt YacasDocs.chapt.txt \
195! paper.chapt.txt wester-1994.chapt.txt new.chapt.txt \
196! wordproblems.chapt.txt FDL.chapt.txt BuildSystem.chapt.txt
197  
198  
199! # Yacas test code extracted from the docs
200! TESTCODESNIPPETS = wester-1994.yts ref.book.yts refprog.book.yts
201  
202! ## This means: build wester-1994.yts etc. if running tests
203! check_SCRIPTS = $(TESTCODESNIPPETS)
204  
205  
206! EXTRA_DIST = txt2example.pl book2txt.sh book2txt.ys \
207! book2xml.sh book2xml.ys \
208! book2ys.sh book2ys.ys ys2book.pl \
209! ytxt2tex $(ytxt2tex_DEPS) \
210! manualmaker indexmaker styleplain \
211! $(REFSOURCES) $(BOOKSOURCES) $(ESSAYSOURCES) $(CODINGSOURCES) \
212! $(INTROSOURCES) \
213! $(REFPROGSOURCES) $(ALGOSOURCES) \
214! dummies hints
215  
216! # Stuff for automatic generation of Yacas books
217  
218! SUFFIXES = .chapt.txt .chapt .book.tex .book.txt .book .tex .dvi .ps .pdf .ys
219  
220! .chapt.txt.chapt:
221! perl $(srcdir)/txt2yacasdoc.pl < $< > $@
222  
223! .book.txt.book:
224! perl $(srcdir)/txt2yacasdoc.pl < $< > $@
225  
226! .book.book.tex:
227! sh $(srcdir)/book2TeX.sh -run "$(ouryacas)" $< $@
228  
229! .tex.dvi:
230! latex $< > /dev/null
231! latex $< > /dev/null
232! # The perl filter is used to help the 'makeindex' command:
233! # 1) replace \verb|...| by \verb=...=
234! # 2) escape ()|@! using a preceding quote "
235! # Note that @ and ! are not always escaped because they are sometimes part of the index entry and sometimes control chars. Heuristics are used to guess correctly.
236! @perl -pe 's/(\\verb)\|([^|]*)\|/$$1=$$2=/g;s/([()|])/"$$1/g;if(/\@/){s/!/"!/g;};s/\@([^\\])/"\@$$1/g;'<$*.idx>$*.1.idx
237! @makeindex $*.1.idx -o $*.ind || echo "***Warning: a problem with 'makeindex'"
238! latex $< > /dev/null
239  
240! .dvi.ps:
241! dvips -q -o $@ $<
242! @echo "***Documentation created:" $*.ps
243  
244! .dvi.pdf:
245! pdflatex $* > /dev/null
246! @echo "***Documentation created:" $*.pdf
247  
248! .chapt.ys:
249! sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
250  
251! .chapt.yts:
252! sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
253  
254! # generate test code from book sources
255  
256! ref.book.yts: $(REFSOURCES) $(srcdir)/txt2example.pl
257! @echo "// tests for ref.book" > $@
258! for file in $(REFSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
259  
260! refprog.book.yts: $(REFPROGSOURCES) $(srcdir)/txt2example.pl
261! @echo "// tests for refprog.book" > $@
262! for file in $(REFPROGSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
263  
264  
265! # specify books that need chapters
266! essays.book.tex: essays.book $(ESSAYCHAPTERS)
267! ref.book.tex : ref.book $(REFCHAPTERS)
268! refprog.book.tex : refprog.book $(REFPROGCHAPTERS)
269! coding.book.tex : coding.book $(CODINGCHAPTERS)
270! intro.book.tex: intro.book $(INTROCHAPTERS)
271! Algo.book.tex: Algo.book $(ALGOCHAPTERS)
272  
273! # special "virtual" chapter built from corefunctions.h. This is printed by a special program "gencorefunctions", compiled together with yacas.
274  
275  
276! # special chapter copied from the GPL (need to replace "<" and ">")
277! GPL.chapt: $(top_srcdir)/COPYING
278! cat $(top_srcdir)/COPYING | sed -e 's,<,{<},g;s,>,{>},g;' | perl $(srcdir)/txt2yacasdoc.pl > $@
279  
280  
281  
282! ps-docs: $(PS_DOCS)
283! pdf-docs: $(PDF_DOCS)
284  
285! CLEANFILES = books.html *.tex *.dvi *.aux *.idx *.ind *.ilg *.toc *.log *.ps *.pdf *.funcs.js \
286! coding*.html intro*.html ref*.html essays*.html Algo*.html *.o core *~ texdocs.c \
287! $(REFCHAPTERS) $(ESSAYCHAPTERS) $(REFPROGCHAPTERS) $(CODINGCHAPTERS) \
288! $(TESTCODESNIPPETS) $(ALGOCHAPTERS) $(BOOKS) manicon.html
289  
290! # The top HTML docs target is now "manicon.html" that is built by GenerateIndex().
291! # The dependence on $(HTMLBOOKS) is only to make sure that all HTML docs
292! # are built - in fact manicon.html is a constant file and has no dependencies.
293! manicon.html: books.html $(HTMLBOOKS)
294  
295! # books.html only depends on top book files (*.book.txt).
296! books.html: $(BOOKS) $(srcdir)/indexmaker $(srcdir)/styleplain
297! -echo '[DefaultDirectory("$(srcdir)/"); Use("indexmaker"); GenerateIndex();];' | $(ouryacas) -fpc
298  
299! intromanual.html : intro.book $(INTROCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
300! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("intro");];' | $(ouryacas) -fpc
301  
302! codingmanual.html : coding.book $(CODINGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
303! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("coding");];' | $(ouryacas) -fpc
304  
305! essaysmanual.html : essays.book $(ESSAYCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
306! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("essays");];' | $(ouryacas) -fpc
307  
308! refmanual.html : ref.book $(REFCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
309! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("ref");];' | $(ouryacas) -fpc
310  
311! refprogmanual.html : ref.book $(REFCHAPTERS) refprog.book $(REFPROGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
312! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("refprog");];' | $(ouryacas) -fpc
313  
314! Algomanual.html : Algo.book $(ALGOCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
315! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("Algo");];' | $(ouryacas) -fpc
316  
317! ## Hook to install documentation
318! install-data-local: @INSTALL_HTML@ @INSTALL_PS@ install-scripts install-hints
319  
320! install-hints: hints
321! $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/documentation
322! $(INSTALL_DATA) hints $(DESTDIR)$(pkgdatadir)/documentation/hints
323  
324! install-scripts: $(ytxt2tex_DEPS)
325! $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/manmake/
326! -for file in $(ytxt2tex_DEPS); do \
327! $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/manmake/$$file; \
328! done
329  
330! install-html: books.html
331! $(mkinstalldirs) $(DESTDIR)$(htmldir)/
332! $(INSTALL_DATA) $(top_srcdir)/docs/yacaslogo.gif $(DESTDIR)$(htmldir)/
333! -for file in *.html; do \
334! $(INSTALL_DATA) $$file $(DESTDIR)$(htmldir)/$$file; \
335! done
336  
337! install-ps: ps-docs
338! $(mkinstalldirs) $(DESTDIR)$(psdir)/
339! -for file in $(PS_DOCS); do \
340! $(INSTALL_DATA) $$file $(DESTDIR)$(psdir)/$$file; \
341! done
342  
343! # gzip $(DESTDIR)$(psdir)/$$file;
344  
345--- 1,250 ----
346! # ## Makefile.am -- Process this file with automake to produce Makefile.in
347  
348! # # $(srcdir) is the manmake/ directory and $(top_srcdir) is the Yacas tree
349! # # so this file should work even if we are building Yacas in a different directory
350  
351! # # newly compiled version of yacas in ../src (not necessarily under $(srcdir))
352! # ouryacas = ../src/yacas --rootdir $(top_srcdir)/scripts/:../scripts/
353  
354! # # top target
355! # ## BOOKS_HTML is either "manicon.html" or empty
356! # ## PS_DOCS is either "ps-docs" or empty
357! # ## PDF_DOCS is either "pdf-docs" or empty
358! # all-am: @BOOKS_HTML@ @PS_DOCS@ @PDF_DOCS@ hints
359  
360! # noinst_PROGRAMS = manripper removeduplicates
361  
362! # manripper_SOURCES = manripper.cpp
363  
364! # removeduplicates_SOURCES = removeduplicates.cpp
365  
366! # hints: manripper removeduplicates $(REFSOURCES) $(REFPROGSOURCES) ref.book.txt refprog.book.txt
367! # rm -f hints.unsorted
368! # for file in ref.book.txt $(REFSOURCES) refprog.book.txt $(REFPROGSOURCES); do \
369! # ./manripper $(srcdir)/"$$file" >> hints.unsorted ; done
370! # sort -t ":" hints.unsorted > hints.sorted
371! # ./removeduplicates hints.sorted hints.singlesorted
372! # echo "::::" > tail.txt
373! # cat hints.singlesorted tail.txt > hints
374  
375! # ## ytxt2tex is to be installed in $(bindir).
376! # bin_SCRIPTS = ytxt2tex
377! # ## It needs the following scripts:
378! # ytxt2tex_DEPS = book2TeX.sh book2TeX.ys txt2yacasdoc.pl
379  
380! # BOOKS = intro.book coding.book ref.book refprog.book essays.book \
381! # Algo.book
382  
383! # BOOKSOURCES = intro.book.txt coding.book.txt ref.book.txt refprog.book.txt \
384! # essays.book.txt Algo.book.txt
385  
386! # PS_DOCS = intro.book.ps coding.book.ps essays.book.ps ref.book.ps \
387! # refprog.book.ps Algo.book.ps
388  
389! # PDF_DOCS = intro.book.pdf coding.book.pdf essays.book.pdf ref.book.pdf \
390! # refprog.book.pdf Algo.book.pdf
391  
392! # # refprog.html is not listed because it is generated together with ref.html
393! # HTMLBOOKS = intromanual.html codingmanual.html essaysmanual.html refmanual.html refprogmanual.html \
394! # Algomanual.html
395  
396! # INTROCHAPTERS = FDL.chapt cl-options.chapt config.chapt addons.chapt
397  
398  
399  
400! # INTROSOURCES = FDL.chapt.txt cl-options.chapt.txt config.chapt.txt addons.chapt.txt
401  
402  
403! # ALGOCHAPTERS = algo-basic.chapt algo-numapprox.chapt \
404! # algorithms-elemfunc.chapt algorithms-specfunc.chapt \
405! # algorithms-numtheory.chapt algorithms-integration.chapt \
406! # algorithms-multivar.chapt SturmSequences.chapt FDL.chapt \
407! # algo-refs.chapt algo-contfrac.chapt algorithms-transforms.chapt
408  
409! # ALGOSOURCES = algo-basic.chapt.txt algo-numapprox.chapt.txt \
410! # algorithms-elemfunc.chapt.txt algorithms-specfunc.chapt.txt \
411! # algorithms-numtheory.chapt.txt algorithms-integration.chapt.txt \
412! # algorithms-multivar.chapt.txt SturmSequences.chapt.txt FDL.chapt.txt \
413! # algo-refs.chapt.txt algo-contfrac.chapt.txt algorithms-transforms.chapt.txt
414  
415! # REFCHAPTERS = arith.chapt calc.chapt complex.chapt solvers.chapt simplify.chapt ode.chapt linalg.chapt \
416! # univar.chapt lists.chapt functional.chapt controlflow.chapt \
417! # preds.chapt logic.chapt const.chapt vars.chapt io.chapt \
418! # numtheory.chapt strings.chapt transforms.chapt cl-options.chapt \
419! # probability-and-statistics.chapt FDL.chapt
420  
421! # REFSOURCES = arith.chapt.txt calc.chapt.txt complex.chapt.txt \
422! # solvers.chapt.txt simplify.chapt.txt ode.chapt.txt \
423! # linalg.chapt.txt univar.chapt.txt lists.chapt.txt cl-options.chapt.txt \
424! # functional.chapt.txt controlflow.chapt.txt preds.chapt.txt \
425! # logic.chapt.txt const.chapt.txt vars.chapt.txt io.chapt.txt \
426! # numtheory.chapt.txt strings.chapt.txt transforms.chapt.txt \
427! # probability-and-statistics.chapt.txt FDL.chapt.txt
428  
429  
430! # REFPROGCHAPTERS = FDL.chapt glossary.chapt \
431! # GPL.chapt numerics.chapt
432! # # GPL.chapt has no .txt source
433! # REFPROGSOURCES = FDL.chapt.txt glossary.chapt.txt \
434! # numerics.chapt.txt
435  
436! # CODINGCHAPTERS = YacasDebugger.chapt FDL.chapt
437! # CODINGSOURCES = YacasDebugger.chapt.txt FDL.chapt.txt
438  
439! # ESSAYCHAPTERS = ABIN-grammar.chapt \
440! # SimpleTools.chapt CVS-Howto.chapt YacasDocs.chapt \
441! # wester-1994.chapt new.chapt paper.chapt \
442! # wordproblems.chapt FDL.chapt BuildSystem.chapt
443  
444! # ESSAYSOURCES = ABIN-grammar.chapt.txt \
445! # SimpleTools.chapt.txt CVS-Howto.chapt.txt YacasDocs.chapt.txt \
446! # paper.chapt.txt wester-1994.chapt.txt new.chapt.txt \
447! # wordproblems.chapt.txt FDL.chapt.txt BuildSystem.chapt.txt
448  
449  
450! # # Yacas test code extracted from the docs
451! # TESTCODESNIPPETS = wester-1994.yts ref.book.yts refprog.book.yts
452  
453! # ## This means: build wester-1994.yts etc. if running tests
454! # check_SCRIPTS = $(TESTCODESNIPPETS)
455  
456  
457! # EXTRA_DIST = txt2example.pl book2txt.sh book2txt.ys \
458! # book2xml.sh book2xml.ys \
459! # book2ys.sh book2ys.ys ys2book.pl \
460! # ytxt2tex $(ytxt2tex_DEPS) \
461! # manualmaker indexmaker styleplain \
462! # $(REFSOURCES) $(BOOKSOURCES) $(ESSAYSOURCES) $(CODINGSOURCES) \
463! # $(INTROSOURCES) \
464! # $(REFPROGSOURCES) $(ALGOSOURCES) \
465! # dummies hints
466  
467! # # Stuff for automatic generation of Yacas books
468  
469! # SUFFIXES = .chapt.txt .chapt .book.tex .book.txt .book .tex .dvi .ps .pdf .ys
470  
471! # .chapt.txt.chapt:
472! # perl $(srcdir)/txt2yacasdoc.pl < $< > $@
473  
474! # .book.txt.book:
475! # perl $(srcdir)/txt2yacasdoc.pl < $< > $@
476  
477! # .book.book.tex:
478! # sh $(srcdir)/book2TeX.sh -run "$(ouryacas)" $< $@
479  
480! # .tex.dvi:
481! # latex $< > /dev/null
482! # latex $< > /dev/null
483! # # The perl filter is used to help the 'makeindex' command:
484! # # 1) replace \verb|...| by \verb=...=
485! # # 2) escape ()|@! using a preceding quote "
486! # # Note that @ and ! are not always escaped because they are sometimes part of the index entry and sometimes control chars. Heuristics are used to guess correctly.
487! # @perl -pe 's/(\\verb)\|([^|]*)\|/$$1=$$2=/g;s/([()|])/"$$1/g;if(/\@/){s/!/"!/g;};s/\@([^\\])/"\@$$1/g;'<$*.idx>$*.1.idx
488! # @makeindex $*.1.idx -o $*.ind || echo "***Warning: a problem with 'makeindex'"
489! # latex $< > /dev/null
490  
491! # .dvi.ps:
492! # dvips -q -o $@ $<
493! # @echo "***Documentation created:" $*.ps
494  
495! # .dvi.pdf:
496! # pdflatex $* > /dev/null
497! # @echo "***Documentation created:" $*.pdf
498  
499! # .chapt.ys:
500! # sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
501  
502! # .chapt.yts:
503! # sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
504  
505! # # generate test code from book sources
506  
507! # ref.book.yts: $(REFSOURCES) $(srcdir)/txt2example.pl
508! # @echo "// tests for ref.book" > $@
509! # for file in $(REFSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
510  
511! # refprog.book.yts: $(REFPROGSOURCES) $(srcdir)/txt2example.pl
512! # @echo "// tests for refprog.book" > $@
513! # for file in $(REFPROGSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
514  
515  
516! # # specify books that need chapters
517! # essays.book.tex: essays.book $(ESSAYCHAPTERS)
518! # ref.book.tex : ref.book $(REFCHAPTERS)
519! # refprog.book.tex : refprog.book $(REFPROGCHAPTERS)
520! # coding.book.tex : coding.book $(CODINGCHAPTERS)
521! # intro.book.tex: intro.book $(INTROCHAPTERS)
522! # Algo.book.tex: Algo.book $(ALGOCHAPTERS)
523  
524! # # special "virtual" chapter built from corefunctions.h. This is printed by a special program "gencorefunctions", compiled together with yacas.
525  
526  
527! # # special chapter copied from the GPL (need to replace "<" and ">")
528! # GPL.chapt: $(top_srcdir)/COPYING
529! # cat $(top_srcdir)/COPYING | sed -e 's,<,{<},g;s,>,{>},g;' | perl $(srcdir)/txt2yacasdoc.pl > $@
530  
531  
532  
533! # ps-docs: $(PS_DOCS)
534! # pdf-docs: $(PDF_DOCS)
535  
536! # CLEANFILES = books.html *.tex *.dvi *.aux *.idx *.ind *.ilg *.toc *.log *.ps *.pdf *.funcs.js \
537! # coding*.html intro*.html ref*.html essays*.html Algo*.html *.o core *~ texdocs.c \
538! # $(REFCHAPTERS) $(ESSAYCHAPTERS) $(REFPROGCHAPTERS) $(CODINGCHAPTERS) \
539! # $(TESTCODESNIPPETS) $(ALGOCHAPTERS) $(BOOKS) manicon.html
540  
541! # # The top HTML docs target is now "manicon.html" that is built by GenerateIndex().
542! # # The dependence on $(HTMLBOOKS) is only to make sure that all HTML docs
543! # # are built - in fact manicon.html is a constant file and has no dependencies.
544! # manicon.html: books.html $(HTMLBOOKS)
545  
546! # # books.html only depends on top book files (*.book.txt).
547! # books.html: $(BOOKS) $(srcdir)/indexmaker $(srcdir)/styleplain
548! # -echo '[DefaultDirectory("$(srcdir)/"); Use("indexmaker"); GenerateIndex();];' | $(ouryacas) -fpc
549  
550! # intromanual.html : intro.book $(INTROCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
551! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("intro");];' | $(ouryacas) -fpc
552  
553! # codingmanual.html : coding.book $(CODINGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
554! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("coding");];' | $(ouryacas) -fpc
555  
556! # essaysmanual.html : essays.book $(ESSAYCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
557! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("essays");];' | $(ouryacas) -fpc
558  
559! # refmanual.html : ref.book $(REFCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
560! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("ref");];' | $(ouryacas) -fpc
561  
562! # refprogmanual.html : ref.book $(REFCHAPTERS) refprog.book $(REFPROGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
563! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("refprog");];' | $(ouryacas) -fpc
564  
565! # Algomanual.html : Algo.book $(ALGOCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
566! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("Algo");];' | $(ouryacas) -fpc
567  
568! # ## Hook to install documentation
569! # install-data-local: @INSTALL_HTML@ @INSTALL_PS@ install-scripts install-hints
570  
571! # install-hints: hints
572! # $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/documentation
573! # $(INSTALL_DATA) hints $(DESTDIR)$(pkgdatadir)/documentation/hints
574  
575! # install-scripts: $(ytxt2tex_DEPS)
576! # $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/manmake/
577! # -for file in $(ytxt2tex_DEPS); do \
578! # $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/manmake/$$file; \
579! # done
580  
581! # install-html: books.html
582! # $(mkinstalldirs) $(DESTDIR)$(htmldir)/
583! # $(INSTALL_DATA) $(top_srcdir)/docs/yacaslogo.gif $(DESTDIR)$(htmldir)/
584! # -for file in *.html; do \
585! # $(INSTALL_DATA) $$file $(DESTDIR)$(htmldir)/$$file; \
586! # done
587  
588! # install-ps: ps-docs
589! # $(mkinstalldirs) $(DESTDIR)$(psdir)/
590! # -for file in $(PS_DOCS); do \
591! # $(INSTALL_DATA) $$file $(DESTDIR)$(psdir)/$$file; \
592! # done
593  
594! # # gzip $(DESTDIR)$(psdir)/$$file;
595  
596diff -crB yacas-1.2.2old/manmake/Makefile.in yacas-1.2.2new/manmake/Makefile.in
597*** yacas-1.2.2old/manmake/Makefile.in 2007-09-27 15:24:37.000000000 +0200
598--- yacas-1.2.2new/manmake/Makefile.in 2010-05-01 00:27:59.000000000 +0200
599***************
600*** 1,598 ****
601! # Makefile.in generated by automake 1.6.3 from Makefile.am.
602! # @configure_input@
603  
604! # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
605! # Free Software Foundation, Inc.
606! # This Makefile.in is free software; the Free Software Foundation
607! # gives unlimited permission to copy and/or distribute it,
608! # with or without modifications, as long as this notice is preserved.
609!
610! # This program is distributed in the hope that it will be useful,
611! # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
612! # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
613! # PARTICULAR PURPOSE.
614!
615! @SET_MAKE@
616!
617! # $(srcdir) is the manmake/ directory and $(top_srcdir) is the Yacas tree
618! # so this file should work even if we are building Yacas in a different directory
619! SHELL = @SHELL@
620!
621! srcdir = @srcdir@
622! top_srcdir = @top_srcdir@
623! VPATH = @srcdir@
624! prefix = @prefix@
625! exec_prefix = @exec_prefix@
626!
627! bindir = @bindir@
628! sbindir = @sbindir@
629! libexecdir = @libexecdir@
630! datadir = @datadir@
631! sysconfdir = @sysconfdir@
632! sharedstatedir = @sharedstatedir@
633! localstatedir = @localstatedir@
634! libdir = @libdir@
635! infodir = @infodir@
636! mandir = @mandir@
637! includedir = @includedir@
638! oldincludedir = /usr/include
639! pkgdatadir = $(datadir)/@PACKAGE@
640! pkglibdir = $(libdir)/@PACKAGE@
641! pkgincludedir = $(includedir)/@PACKAGE@
642! top_builddir = ..
643!
644! ACLOCAL = @ACLOCAL@
645! AUTOCONF = @AUTOCONF@
646! AUTOMAKE = @AUTOMAKE@
647! AUTOHEADER = @AUTOHEADER@
648!
649! am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
650! INSTALL = @INSTALL@
651! INSTALL_PROGRAM = @INSTALL_PROGRAM@
652! INSTALL_DATA = @INSTALL_DATA@
653! install_sh_DATA = $(install_sh) -c -m 644
654! install_sh_PROGRAM = $(install_sh) -c
655! install_sh_SCRIPT = $(install_sh) -c
656! INSTALL_SCRIPT = @INSTALL_SCRIPT@
657! INSTALL_HEADER = $(INSTALL_DATA)
658! transform = @program_transform_name@
659! NORMAL_INSTALL = :
660! PRE_INSTALL = :
661! POST_INSTALL = :
662! NORMAL_UNINSTALL = :
663! PRE_UNINSTALL = :
664! POST_UNINSTALL = :
665! host_alias = @host_alias@
666! host_triplet = @host@
667!
668! EXEEXT = @EXEEXT@
669! OBJEXT = @OBJEXT@
670! PATH_SEPARATOR = @PATH_SEPARATOR@
671! AMTAR = @AMTAR@
672! AR = @AR@
673! AWK = @AWK@
674! BOOKS_HTML = @BOOKS_HTML@
675! CC = @CC@
676! CHECK_ARCHIVE = @CHECK_ARCHIVE@
677! COMPRESSOR_PRG = @COMPRESSOR_PRG@
678! CPP = @CPP@
679! CXX = @CXX@
680! DEPDIR = @DEPDIR@
681! INSTALL_ARCHIVE = @INSTALL_ARCHIVE@
682! INSTALL_HTML = @INSTALL_HTML@
683! INSTALL_PS = @INSTALL_PS@
684! INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
685! PACKAGE = @PACKAGE@
686!
687! PDF_DOCS = intro.book.pdf coding.book.pdf essays.book.pdf ref.book.pdf \
688! refprog.book.pdf Algo.book.pdf
689!
690!
691! PS_DOCS = intro.book.ps coding.book.ps essays.book.ps ref.book.ps \
692! refprog.book.ps Algo.book.ps
693!
694! RELEASE = @RELEASE@
695! SCRIPTS_DAT = @SCRIPTS_DAT@
696! STRIP = @STRIP@
697! VERSION = @VERSION@
698! am__include = @am__include@
699! am__quote = @am__quote@
700! have_dvips = @have_dvips@
701! have_gzip = @have_gzip@
702! have_latex = @have_latex@
703! have_makeindex = @have_makeindex@
704! have_pdflatex = @have_pdflatex@
705! have_perl = @have_perl@
706! htmldir = @htmldir@
707! install_sh = @install_sh@
708! psdir = @psdir@
709! scriptdir = @scriptdir@
710!
711! # newly compiled version of yacas in ../src (not necessarily under $(srcdir))
712! ouryacas = ../src/yacas --rootdir $(top_srcdir)/scripts/:../scripts/
713!
714! noinst_PROGRAMS = manripper removeduplicates
715!
716! manripper_SOURCES = manripper.cpp
717!
718! removeduplicates_SOURCES = removeduplicates.cpp
719!
720! bin_SCRIPTS = ytxt2tex
721! ytxt2tex_DEPS = book2TeX.sh book2TeX.ys txt2yacasdoc.pl
722!
723! BOOKS = intro.book coding.book ref.book refprog.book essays.book \
724! Algo.book
725!
726!
727! BOOKSOURCES = intro.book.txt coding.book.txt ref.book.txt refprog.book.txt \
728! essays.book.txt Algo.book.txt
729!
730!
731! # refprog.html is not listed because it is generated together with ref.html
732! HTMLBOOKS = intromanual.html codingmanual.html essaysmanual.html refmanual.html refprogmanual.html \
733! Algomanual.html
734!
735!
736! INTROCHAPTERS = FDL.chapt cl-options.chapt config.chapt addons.chapt
737!
738! INTROSOURCES = FDL.chapt.txt cl-options.chapt.txt config.chapt.txt addons.chapt.txt
739!
740! ALGOCHAPTERS = algo-basic.chapt algo-numapprox.chapt \
741! algorithms-elemfunc.chapt algorithms-specfunc.chapt \
742! algorithms-numtheory.chapt algorithms-integration.chapt \
743! algorithms-multivar.chapt SturmSequences.chapt FDL.chapt \
744! algo-refs.chapt algo-contfrac.chapt algorithms-transforms.chapt
745!
746!
747! ALGOSOURCES = algo-basic.chapt.txt algo-numapprox.chapt.txt \
748! algorithms-elemfunc.chapt.txt algorithms-specfunc.chapt.txt \
749! algorithms-numtheory.chapt.txt algorithms-integration.chapt.txt \
750! algorithms-multivar.chapt.txt SturmSequences.chapt.txt FDL.chapt.txt \
751! algo-refs.chapt.txt algo-contfrac.chapt.txt algorithms-transforms.chapt.txt
752!
753!
754! REFCHAPTERS = arith.chapt calc.chapt complex.chapt solvers.chapt simplify.chapt ode.chapt linalg.chapt \
755! univar.chapt lists.chapt functional.chapt controlflow.chapt \
756! preds.chapt logic.chapt const.chapt vars.chapt io.chapt \
757! numtheory.chapt strings.chapt transforms.chapt cl-options.chapt \
758! probability-and-statistics.chapt FDL.chapt
759!
760!
761! REFSOURCES = arith.chapt.txt calc.chapt.txt complex.chapt.txt \
762! solvers.chapt.txt simplify.chapt.txt ode.chapt.txt \
763! linalg.chapt.txt univar.chapt.txt lists.chapt.txt cl-options.chapt.txt \
764! functional.chapt.txt controlflow.chapt.txt preds.chapt.txt \
765! logic.chapt.txt const.chapt.txt vars.chapt.txt io.chapt.txt \
766! numtheory.chapt.txt strings.chapt.txt transforms.chapt.txt \
767! probability-and-statistics.chapt.txt FDL.chapt.txt
768!
769!
770! REFPROGCHAPTERS = FDL.chapt glossary.chapt \
771! GPL.chapt numerics.chapt
772!
773! # GPL.chapt has no .txt source
774! REFPROGSOURCES = FDL.chapt.txt glossary.chapt.txt \
775! numerics.chapt.txt
776!
777!
778! CODINGCHAPTERS = YacasDebugger.chapt FDL.chapt
779! CODINGSOURCES = YacasDebugger.chapt.txt FDL.chapt.txt
780!
781! ESSAYCHAPTERS = ABIN-grammar.chapt \
782! SimpleTools.chapt CVS-Howto.chapt YacasDocs.chapt \
783! wester-1994.chapt new.chapt paper.chapt \
784! wordproblems.chapt FDL.chapt BuildSystem.chapt
785!
786!
787! ESSAYSOURCES = ABIN-grammar.chapt.txt \
788! SimpleTools.chapt.txt CVS-Howto.chapt.txt YacasDocs.chapt.txt \
789! paper.chapt.txt wester-1994.chapt.txt new.chapt.txt \
790! wordproblems.chapt.txt FDL.chapt.txt BuildSystem.chapt.txt
791!
792!
793! # Yacas test code extracted from the docs
794! TESTCODESNIPPETS = wester-1994.yts ref.book.yts refprog.book.yts
795!
796! check_SCRIPTS = $(TESTCODESNIPPETS)
797!
798! EXTRA_DIST = txt2example.pl book2txt.sh book2txt.ys \
799! book2xml.sh book2xml.ys \
800! book2ys.sh book2ys.ys ys2book.pl \
801! ytxt2tex $(ytxt2tex_DEPS) \
802! manualmaker indexmaker styleplain \
803! $(REFSOURCES) $(BOOKSOURCES) $(ESSAYSOURCES) $(CODINGSOURCES) \
804! $(INTROSOURCES) \
805! $(REFPROGSOURCES) $(ALGOSOURCES) \
806! dummies hints
807!
808!
809!
810! # Stuff for automatic generation of Yacas books
811! SUFFIXES = .chapt.txt .chapt .book.tex .book.txt .book .tex .dvi .ps .pdf .ys
812!
813! CLEANFILES = books.html *.tex *.dvi *.aux *.idx *.ind *.ilg *.toc *.log *.ps *.pdf *.funcs.js \
814! coding*.html intro*.html ref*.html essays*.html Algo*.html *.o core *~ texdocs.c \
815! $(REFCHAPTERS) $(ESSAYCHAPTERS) $(REFPROGCHAPTERS) $(CODINGCHAPTERS) \
816! $(TESTCODESNIPPETS) $(ALGOCHAPTERS) $(BOOKS) manicon.html
817!
818! subdir = manmake
819! mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
820! CONFIG_HEADER = $(top_builddir)/config.h
821! CONFIG_CLEAN_FILES =
822! noinst_PROGRAMS = manripper$(EXEEXT) removeduplicates$(EXEEXT)
823! PROGRAMS = $(noinst_PROGRAMS)
824!
825! am_manripper_OBJECTS = manripper.$(OBJEXT)
826! manripper_OBJECTS = $(am_manripper_OBJECTS)
827! manripper_LDADD = $(LDADD)
828! manripper_DEPENDENCIES =
829! manripper_LDFLAGS =
830! am_removeduplicates_OBJECTS = removeduplicates.$(OBJEXT)
831! removeduplicates_OBJECTS = $(am_removeduplicates_OBJECTS)
832! removeduplicates_LDADD = $(LDADD)
833! removeduplicates_DEPENDENCIES =
834! removeduplicates_LDFLAGS =
835! SCRIPTS = $(bin_SCRIPTS)
836!
837!
838! DEFS = @DEFS@
839! DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
840! CPPFLAGS = @CPPFLAGS@
841! LDFLAGS = @LDFLAGS@
842! LIBS = @LIBS@
843! depcomp = $(SHELL) $(top_srcdir)/depcomp
844! am__depfiles_maybe = depfiles
845! @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/manripper.Po \
846! @AMDEP_TRUE@ ./$(DEPDIR)/removeduplicates.Po
847! CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
848! $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
849! CXXLD = $(CXX)
850! CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
851! -o $@
852! CXXFLAGS = @CXXFLAGS@
853! CFLAGS = @CFLAGS@
854! COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
855! $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
856! CCLD = $(CC)
857! LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
858! DIST_SOURCES = $(manripper_SOURCES) $(removeduplicates_SOURCES)
859! DIST_COMMON = README Makefile.am Makefile.in
860! SOURCES = $(manripper_SOURCES) $(removeduplicates_SOURCES)
861!
862! all: all-am
863!
864! .SUFFIXES:
865! .SUFFIXES: .chapt.txt .chapt .book.tex .book.txt .book .tex .dvi .ps .pdf .ys .cpp .o .obj .yts
866! $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
867! cd $(top_srcdir) && \
868! $(AUTOMAKE) --gnu manmake/Makefile
869! Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
870! cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
871!
872! clean-noinstPROGRAMS:
873! -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
874! manripper$(EXEEXT): $(manripper_OBJECTS) $(manripper_DEPENDENCIES)
875! @rm -f manripper$(EXEEXT)
876! $(CXXLINK) $(manripper_LDFLAGS) $(manripper_OBJECTS) $(manripper_LDADD) $(LIBS)
877! removeduplicates$(EXEEXT): $(removeduplicates_OBJECTS) $(removeduplicates_DEPENDENCIES)
878! @rm -f removeduplicates$(EXEEXT)
879! $(CXXLINK) $(removeduplicates_LDFLAGS) $(removeduplicates_OBJECTS) $(removeduplicates_LDADD) $(LIBS)
880! binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
881! install-binSCRIPTS: $(bin_SCRIPTS)
882! @$(NORMAL_INSTALL)
883! $(mkinstalldirs) $(DESTDIR)$(bindir)
884! @list='$(bin_SCRIPTS)'; for p in $$list; do \
885! if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
886! if test -f $$d$$p; then \
887! f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
888! echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
889! $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
890! else :; fi; \
891! done
892!
893! uninstall-binSCRIPTS:
894! @$(NORMAL_UNINSTALL)
895! @list='$(bin_SCRIPTS)'; for p in $$list; do \
896! f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
897! echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
898! rm -f $(DESTDIR)$(bindir)/$$f; \
899! done
900!
901! mostlyclean-compile:
902! -rm -f *.$(OBJEXT) core *.core
903!
904! distclean-compile:
905! -rm -f *.tab.c
906!
907! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/manripper.Po@am__quote@
908! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/removeduplicates.Po@am__quote@
909!
910! distclean-depend:
911! -rm -rf ./$(DEPDIR)
912!
913! .cpp.o:
914! @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
915! @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
916! @AMDEP_TRUE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
917! $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
918!
919! .cpp.obj:
920! @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
921! @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
922! @AMDEP_TRUE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
923! $(CXXCOMPILE) -c -o $@ `cygpath -w $<`
924! CXXDEPMODE = @CXXDEPMODE@
925! uninstall-info-am:
926!
927! ETAGS = etags
928! ETAGSFLAGS =
929!
930! tags: TAGS
931!
932! ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
933! list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
934! unique=`for i in $$list; do \
935! if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
936! done | \
937! $(AWK) ' { files[$$0] = 1; } \
938! END { for (i in files) print i; }'`; \
939! mkid -fID $$unique
940!
941! TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
942! $(TAGS_FILES) $(LISP)
943! tags=; \
944! here=`pwd`; \
945! list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
946! unique=`for i in $$list; do \
947! if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
948! done | \
949! $(AWK) ' { files[$$0] = 1; } \
950! END { for (i in files) print i; }'`; \
951! test -z "$(ETAGS_ARGS)$$tags$$unique" \
952! || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
953! $$tags $$unique
954!
955! GTAGS:
956! here=`$(am__cd) $(top_builddir) && pwd` \
957! && cd $(top_srcdir) \
958! && gtags -i $(GTAGS_ARGS) $$here
959!
960! distclean-tags:
961! -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
962! DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
963!
964! top_distdir = ..
965! distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
966!
967! distdir: $(DISTFILES)
968! @list='$(DISTFILES)'; for file in $$list; do \
969! if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
970! dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
971! if test "$$dir" != "$$file" && test "$$dir" != "."; then \
972! dir="/$$dir"; \
973! $(mkinstalldirs) "$(distdir)$$dir"; \
974! else \
975! dir=''; \
976! fi; \
977! if test -d $$d/$$file; then \
978! if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
979! cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
980! fi; \
981! cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
982! else \
983! test -f $(distdir)/$$file \
984! || cp -p $$d/$$file $(distdir)/$$file \
985! || exit 1; \
986! fi; \
987! done
988! check-am: all-am
989! $(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS)
990! check: check-am
991! all-am: Makefile $(PROGRAMS) $(SCRIPTS)
992!
993! installdirs:
994! $(mkinstalldirs) $(DESTDIR)$(bindir)
995!
996! install: install-am
997! install-exec: install-exec-am
998! install-data: install-data-am
999! uninstall: uninstall-am
1000!
1001! install-am: all-am
1002! @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1003!
1004! installcheck: installcheck-am
1005! install-strip:
1006! $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1007! INSTALL_STRIP_FLAG=-s \
1008! `test -z '$(STRIP)' || \
1009! echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1010! mostlyclean-generic:
1011!
1012! clean-generic:
1013! -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1014!
1015! distclean-generic:
1016! -rm -f Makefile $(CONFIG_CLEAN_FILES)
1017!
1018! maintainer-clean-generic:
1019! @echo "This command is intended for maintainers to use"
1020! @echo "it deletes files that may require special tools to rebuild."
1021! clean: clean-am
1022!
1023! clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
1024!
1025! distclean: distclean-am
1026!
1027! distclean-am: clean-am distclean-compile distclean-depend \
1028! distclean-generic distclean-tags
1029!
1030! dvi: dvi-am
1031!
1032! dvi-am:
1033!
1034! info: info-am
1035!
1036! info-am:
1037!
1038! install-data-am: install-data-local
1039!
1040! install-exec-am: install-binSCRIPTS
1041!
1042! install-info: install-info-am
1043!
1044! install-man:
1045!
1046! installcheck-am:
1047!
1048! maintainer-clean: maintainer-clean-am
1049!
1050! maintainer-clean-am: distclean-am maintainer-clean-generic
1051!
1052! mostlyclean: mostlyclean-am
1053!
1054! mostlyclean-am: mostlyclean-compile mostlyclean-generic
1055!
1056! uninstall-am: uninstall-binSCRIPTS uninstall-info-am
1057!
1058! .PHONY: GTAGS all all-am check check-am clean clean-generic \
1059! clean-noinstPROGRAMS distclean distclean-compile \
1060! distclean-depend distclean-generic distclean-tags distdir dvi \
1061! dvi-am info info-am install install-am install-binSCRIPTS \
1062! install-data install-data-am install-data-local install-exec \
1063! install-exec-am install-info install-info-am install-man \
1064! install-strip installcheck installcheck-am installdirs \
1065! maintainer-clean maintainer-clean-generic mostlyclean \
1066! mostlyclean-compile mostlyclean-generic tags uninstall \
1067! uninstall-am uninstall-binSCRIPTS uninstall-info-am
1068!
1069!
1070! # top target
1071! all-am: @BOOKS_HTML@ @PS_DOCS@ @PDF_DOCS@ hints
1072!
1073! hints: manripper removeduplicates $(REFSOURCES) $(REFPROGSOURCES) ref.book.txt refprog.book.txt
1074! rm -f hints.unsorted
1075! for file in ref.book.txt $(REFSOURCES) refprog.book.txt $(REFPROGSOURCES); do \
1076! ./manripper $(srcdir)/"$$file" >> hints.unsorted ; done
1077! sort -t ":" hints.unsorted > hints.sorted
1078! ./removeduplicates hints.sorted hints.singlesorted
1079! echo "::::" > tail.txt
1080! cat hints.singlesorted tail.txt > hints
1081!
1082! .chapt.txt.chapt:
1083! perl $(srcdir)/txt2yacasdoc.pl < $< > $@
1084!
1085! .book.txt.book:
1086! perl $(srcdir)/txt2yacasdoc.pl < $< > $@
1087!
1088! .book.book.tex:
1089! sh $(srcdir)/book2TeX.sh -run "$(ouryacas)" $< $@
1090!
1091! .tex.dvi:
1092! latex $< > /dev/null
1093! latex $< > /dev/null
1094! # The perl filter is used to help the 'makeindex' command:
1095! # 1) replace \verb|...| by \verb=...=
1096! # 2) escape ()|@! using a preceding quote "
1097! # Note that @ and ! are not always escaped because they are sometimes part of the index entry and sometimes control chars. Heuristics are used to guess correctly.
1098! @perl -pe 's/(\\verb)\|([^|]*)\|/$$1=$$2=/g;s/([()|])/"$$1/g;if(/\@/){s/!/"!/g;};s/\@([^\\])/"\@$$1/g;'<$*.idx>$*.1.idx
1099! @makeindex $*.1.idx -o $*.ind || echo "***Warning: a problem with 'makeindex'"
1100! latex $< > /dev/null
1101!
1102! .dvi.ps:
1103! dvips -q -o $@ $<
1104! @echo "***Documentation created:" $*.ps
1105!
1106! .dvi.pdf:
1107! pdflatex $* > /dev/null
1108! @echo "***Documentation created:" $*.pdf
1109!
1110! .chapt.ys:
1111! sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
1112!
1113! .chapt.yts:
1114! sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
1115!
1116! # generate test code from book sources
1117!
1118! ref.book.yts: $(REFSOURCES) $(srcdir)/txt2example.pl
1119! @echo "// tests for ref.book" > $@
1120! for file in $(REFSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
1121!
1122! refprog.book.yts: $(REFPROGSOURCES) $(srcdir)/txt2example.pl
1123! @echo "// tests for refprog.book" > $@
1124! for file in $(REFPROGSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
1125!
1126! # specify books that need chapters
1127! essays.book.tex: essays.book $(ESSAYCHAPTERS)
1128! ref.book.tex : ref.book $(REFCHAPTERS)
1129! refprog.book.tex : refprog.book $(REFPROGCHAPTERS)
1130! coding.book.tex : coding.book $(CODINGCHAPTERS)
1131! intro.book.tex: intro.book $(INTROCHAPTERS)
1132! Algo.book.tex: Algo.book $(ALGOCHAPTERS)
1133!
1134! # special "virtual" chapter built from corefunctions.h. This is printed by a special program "gencorefunctions", compiled together with yacas.
1135!
1136! # special chapter copied from the GPL (need to replace "<" and ">")
1137! GPL.chapt: $(top_srcdir)/COPYING
1138! cat $(top_srcdir)/COPYING | sed -e 's,<,{<},g;s,>,{>},g;' | perl $(srcdir)/txt2yacasdoc.pl > $@
1139!
1140! ps-docs: $(PS_DOCS)
1141! pdf-docs: $(PDF_DOCS)
1142!
1143! # The top HTML docs target is now "manicon.html" that is built by GenerateIndex().
1144! # The dependence on $(HTMLBOOKS) is only to make sure that all HTML docs
1145! # are built - in fact manicon.html is a constant file and has no dependencies.
1146! manicon.html: books.html $(HTMLBOOKS)
1147!
1148! # books.html only depends on top book files (*.book.txt).
1149! books.html: $(BOOKS) $(srcdir)/indexmaker $(srcdir)/styleplain
1150! -echo '[DefaultDirectory("$(srcdir)/"); Use("indexmaker"); GenerateIndex();];' | $(ouryacas) -fpc
1151!
1152! intromanual.html : intro.book $(INTROCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1153! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("intro");];' | $(ouryacas) -fpc
1154!
1155! codingmanual.html : coding.book $(CODINGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1156! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("coding");];' | $(ouryacas) -fpc
1157!
1158! essaysmanual.html : essays.book $(ESSAYCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1159! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("essays");];' | $(ouryacas) -fpc
1160!
1161! refmanual.html : ref.book $(REFCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1162! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("ref");];' | $(ouryacas) -fpc
1163!
1164! refprogmanual.html : ref.book $(REFCHAPTERS) refprog.book $(REFPROGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1165! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("refprog");];' | $(ouryacas) -fpc
1166!
1167! Algomanual.html : Algo.book $(ALGOCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1168! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("Algo");];' | $(ouryacas) -fpc
1169!
1170! install-data-local: @INSTALL_HTML@ @INSTALL_PS@ install-scripts install-hints
1171!
1172! install-hints: hints
1173! $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/documentation
1174! $(INSTALL_DATA) hints $(DESTDIR)$(pkgdatadir)/documentation/hints
1175!
1176! install-scripts: $(ytxt2tex_DEPS)
1177! $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/manmake/
1178! -for file in $(ytxt2tex_DEPS); do \
1179! $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/manmake/$$file; \
1180! done
1181!
1182! install-html: books.html
1183! $(mkinstalldirs) $(DESTDIR)$(htmldir)/
1184! $(INSTALL_DATA) $(top_srcdir)/docs/yacaslogo.gif $(DESTDIR)$(htmldir)/
1185! -for file in *.html; do \
1186! $(INSTALL_DATA) $$file $(DESTDIR)$(htmldir)/$$file; \
1187! done
1188!
1189! install-ps: ps-docs
1190! $(mkinstalldirs) $(DESTDIR)$(psdir)/
1191! -for file in $(PS_DOCS); do \
1192! $(INSTALL_DATA) $$file $(DESTDIR)$(psdir)/$$file; \
1193! done
1194!
1195! # gzip $(DESTDIR)$(psdir)/$$file;
1196! # Tell versions [3.59,3.63) of GNU make to not export all variables.
1197! # Otherwise a system limit (for SysV at least) may be exceeded.
1198! .NOEXPORT:
1199--- 1,598 ----
1200! # # Makefile.in generated by automake 1.6.3 from Makefile.am.
1201! # # @configure_input@
1202  
1203! # # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
1204! # # Free Software Foundation, Inc.
1205! # # This Makefile.in is free software; the Free Software Foundation
1206! # # gives unlimited permission to copy and/or distribute it,
1207! # # with or without modifications, as long as this notice is preserved.
1208!
1209! # # This program is distributed in the hope that it will be useful,
1210! # # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
1211! # # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1212! # # PARTICULAR PURPOSE.
1213!
1214! # @SET_MAKE@
1215!
1216! # # $(srcdir) is the manmake/ directory and $(top_srcdir) is the Yacas tree
1217! # # so this file should work even if we are building Yacas in a different directory
1218! # SHELL = @SHELL@
1219!
1220! # srcdir = @srcdir@
1221! # top_srcdir = @top_srcdir@
1222! # VPATH = @srcdir@
1223! # prefix = @prefix@
1224! # exec_prefix = @exec_prefix@
1225!
1226! # bindir = @bindir@
1227! # sbindir = @sbindir@
1228! # libexecdir = @libexecdir@
1229! # datadir = @datadir@
1230! # sysconfdir = @sysconfdir@
1231! # sharedstatedir = @sharedstatedir@
1232! # localstatedir = @localstatedir@
1233! # libdir = @libdir@
1234! # infodir = @infodir@
1235! # mandir = @mandir@
1236! # includedir = @includedir@
1237! # oldincludedir = /usr/include
1238! # pkgdatadir = $(datadir)/@PACKAGE@
1239! # pkglibdir = $(libdir)/@PACKAGE@
1240! # pkgincludedir = $(includedir)/@PACKAGE@
1241! # top_builddir = ..
1242!
1243! # ACLOCAL = @ACLOCAL@
1244! # AUTOCONF = @AUTOCONF@
1245! # AUTOMAKE = @AUTOMAKE@
1246! # AUTOHEADER = @AUTOHEADER@
1247!
1248! # am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
1249! # INSTALL = @INSTALL@
1250! # INSTALL_PROGRAM = @INSTALL_PROGRAM@
1251! # INSTALL_DATA = @INSTALL_DATA@
1252! # install_sh_DATA = $(install_sh) -c -m 644
1253! # install_sh_PROGRAM = $(install_sh) -c
1254! # install_sh_SCRIPT = $(install_sh) -c
1255! # INSTALL_SCRIPT = @INSTALL_SCRIPT@
1256! # INSTALL_HEADER = $(INSTALL_DATA)
1257! # transform = @program_transform_name@
1258! # NORMAL_INSTALL = :
1259! # PRE_INSTALL = :
1260! # POST_INSTALL = :
1261! # NORMAL_UNINSTALL = :
1262! # PRE_UNINSTALL = :
1263! # POST_UNINSTALL = :
1264! # host_alias = @host_alias@
1265! # host_triplet = @host@
1266!
1267! # EXEEXT = @EXEEXT@
1268! # OBJEXT = @OBJEXT@
1269! # PATH_SEPARATOR = @PATH_SEPARATOR@
1270! # AMTAR = @AMTAR@
1271! # AR = @AR@
1272! # AWK = @AWK@
1273! # BOOKS_HTML = @BOOKS_HTML@
1274! # CC = @CC@
1275! # CHECK_ARCHIVE = @CHECK_ARCHIVE@
1276! # COMPRESSOR_PRG = @COMPRESSOR_PRG@
1277! # CPP = @CPP@
1278! # CXX = @CXX@
1279! # DEPDIR = @DEPDIR@
1280! # INSTALL_ARCHIVE = @INSTALL_ARCHIVE@
1281! # INSTALL_HTML = @INSTALL_HTML@
1282! # INSTALL_PS = @INSTALL_PS@
1283! # INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
1284! # PACKAGE = @PACKAGE@
1285!
1286! # PDF_DOCS = intro.book.pdf coding.book.pdf essays.book.pdf ref.book.pdf \
1287! # refprog.book.pdf Algo.book.pdf
1288!
1289!
1290! # PS_DOCS = intro.book.ps coding.book.ps essays.book.ps ref.book.ps \
1291! # refprog.book.ps Algo.book.ps
1292!
1293! # RELEASE = @RELEASE@
1294! # SCRIPTS_DAT = @SCRIPTS_DAT@
1295! # STRIP = @STRIP@
1296! # VERSION = @VERSION@
1297! # am__include = @am__include@
1298! # am__quote = @am__quote@
1299! # have_dvips = @have_dvips@
1300! # have_gzip = @have_gzip@
1301! # have_latex = @have_latex@
1302! # have_makeindex = @have_makeindex@
1303! # have_pdflatex = @have_pdflatex@
1304! # have_perl = @have_perl@
1305! # htmldir = @htmldir@
1306! # install_sh = @install_sh@
1307! # psdir = @psdir@
1308! # scriptdir = @scriptdir@
1309!
1310! # # newly compiled version of yacas in ../src (not necessarily under $(srcdir))
1311! # ouryacas = ../src/yacas --rootdir $(top_srcdir)/scripts/:../scripts/
1312!
1313! # noinst_PROGRAMS = manripper removeduplicates
1314!
1315! # manripper_SOURCES = manripper.cpp
1316!
1317! # removeduplicates_SOURCES = removeduplicates.cpp
1318!
1319! # bin_SCRIPTS = ytxt2tex
1320! # ytxt2tex_DEPS = book2TeX.sh book2TeX.ys txt2yacasdoc.pl
1321!
1322! # BOOKS = intro.book coding.book ref.book refprog.book essays.book \
1323! # Algo.book
1324!
1325!
1326! # BOOKSOURCES = intro.book.txt coding.book.txt ref.book.txt refprog.book.txt \
1327! # essays.book.txt Algo.book.txt
1328!
1329!
1330! # # refprog.html is not listed because it is generated together with ref.html
1331! # HTMLBOOKS = intromanual.html codingmanual.html essaysmanual.html refmanual.html refprogmanual.html \
1332! # Algomanual.html
1333!
1334!
1335! # INTROCHAPTERS = FDL.chapt cl-options.chapt config.chapt addons.chapt
1336!
1337! # INTROSOURCES = FDL.chapt.txt cl-options.chapt.txt config.chapt.txt addons.chapt.txt
1338!
1339! # ALGOCHAPTERS = algo-basic.chapt algo-numapprox.chapt \
1340! # algorithms-elemfunc.chapt algorithms-specfunc.chapt \
1341! # algorithms-numtheory.chapt algorithms-integration.chapt \
1342! # algorithms-multivar.chapt SturmSequences.chapt FDL.chapt \
1343! # algo-refs.chapt algo-contfrac.chapt algorithms-transforms.chapt
1344!
1345!
1346! # ALGOSOURCES = algo-basic.chapt.txt algo-numapprox.chapt.txt \
1347! # algorithms-elemfunc.chapt.txt algorithms-specfunc.chapt.txt \
1348! # algorithms-numtheory.chapt.txt algorithms-integration.chapt.txt \
1349! # algorithms-multivar.chapt.txt SturmSequences.chapt.txt FDL.chapt.txt \
1350! # algo-refs.chapt.txt algo-contfrac.chapt.txt algorithms-transforms.chapt.txt
1351!
1352!
1353! # REFCHAPTERS = arith.chapt calc.chapt complex.chapt solvers.chapt simplify.chapt ode.chapt linalg.chapt \
1354! # univar.chapt lists.chapt functional.chapt controlflow.chapt \
1355! # preds.chapt logic.chapt const.chapt vars.chapt io.chapt \
1356! # numtheory.chapt strings.chapt transforms.chapt cl-options.chapt \
1357! # probability-and-statistics.chapt FDL.chapt
1358!
1359!
1360! # REFSOURCES = arith.chapt.txt calc.chapt.txt complex.chapt.txt \
1361! # solvers.chapt.txt simplify.chapt.txt ode.chapt.txt \
1362! # linalg.chapt.txt univar.chapt.txt lists.chapt.txt cl-options.chapt.txt \
1363! # functional.chapt.txt controlflow.chapt.txt preds.chapt.txt \
1364! # logic.chapt.txt const.chapt.txt vars.chapt.txt io.chapt.txt \
1365! # numtheory.chapt.txt strings.chapt.txt transforms.chapt.txt \
1366! # probability-and-statistics.chapt.txt FDL.chapt.txt
1367!
1368!
1369! # REFPROGCHAPTERS = FDL.chapt glossary.chapt \
1370! # GPL.chapt numerics.chapt
1371!
1372! # # GPL.chapt has no .txt source
1373! # REFPROGSOURCES = FDL.chapt.txt glossary.chapt.txt \
1374! # numerics.chapt.txt
1375!
1376!
1377! # CODINGCHAPTERS = YacasDebugger.chapt FDL.chapt
1378! # CODINGSOURCES = YacasDebugger.chapt.txt FDL.chapt.txt
1379!
1380! # ESSAYCHAPTERS = ABIN-grammar.chapt \
1381! # SimpleTools.chapt CVS-Howto.chapt YacasDocs.chapt \
1382! # wester-1994.chapt new.chapt paper.chapt \
1383! # wordproblems.chapt FDL.chapt BuildSystem.chapt
1384!
1385!
1386! # ESSAYSOURCES = ABIN-grammar.chapt.txt \
1387! # SimpleTools.chapt.txt CVS-Howto.chapt.txt YacasDocs.chapt.txt \
1388! # paper.chapt.txt wester-1994.chapt.txt new.chapt.txt \
1389! # wordproblems.chapt.txt FDL.chapt.txt BuildSystem.chapt.txt
1390!
1391!
1392! # # Yacas test code extracted from the docs
1393! # TESTCODESNIPPETS = wester-1994.yts ref.book.yts refprog.book.yts
1394!
1395! # check_SCRIPTS = $(TESTCODESNIPPETS)
1396!
1397! # EXTRA_DIST = txt2example.pl book2txt.sh book2txt.ys \
1398! # book2xml.sh book2xml.ys \
1399! # book2ys.sh book2ys.ys ys2book.pl \
1400! # ytxt2tex $(ytxt2tex_DEPS) \
1401! # manualmaker indexmaker styleplain \
1402! # $(REFSOURCES) $(BOOKSOURCES) $(ESSAYSOURCES) $(CODINGSOURCES) \
1403! # $(INTROSOURCES) \
1404! # $(REFPROGSOURCES) $(ALGOSOURCES) \
1405! # dummies hints
1406!
1407!
1408!
1409! # # Stuff for automatic generation of Yacas books
1410! # SUFFIXES = .chapt.txt .chapt .book.tex .book.txt .book .tex .dvi .ps .pdf .ys
1411!
1412! # CLEANFILES = books.html *.tex *.dvi *.aux *.idx *.ind *.ilg *.toc *.log *.ps *.pdf *.funcs.js \
1413! # coding*.html intro*.html ref*.html essays*.html Algo*.html *.o core *~ texdocs.c \
1414! # $(REFCHAPTERS) $(ESSAYCHAPTERS) $(REFPROGCHAPTERS) $(CODINGCHAPTERS) \
1415! # $(TESTCODESNIPPETS) $(ALGOCHAPTERS) $(BOOKS) manicon.html
1416!
1417! # subdir = manmake
1418! # mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
1419! # CONFIG_HEADER = $(top_builddir)/config.h
1420! # CONFIG_CLEAN_FILES =
1421! # noinst_PROGRAMS = manripper$(EXEEXT) removeduplicates$(EXEEXT)
1422! # PROGRAMS = $(noinst_PROGRAMS)
1423!
1424! # am_manripper_OBJECTS = manripper.$(OBJEXT)
1425! # manripper_OBJECTS = $(am_manripper_OBJECTS)
1426! # manripper_LDADD = $(LDADD)
1427! # manripper_DEPENDENCIES =
1428! # manripper_LDFLAGS =
1429! # am_removeduplicates_OBJECTS = removeduplicates.$(OBJEXT)
1430! # removeduplicates_OBJECTS = $(am_removeduplicates_OBJECTS)
1431! # removeduplicates_LDADD = $(LDADD)
1432! # removeduplicates_DEPENDENCIES =
1433! # removeduplicates_LDFLAGS =
1434! # SCRIPTS = $(bin_SCRIPTS)
1435!
1436!
1437! # DEFS = @DEFS@
1438! # DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
1439! # CPPFLAGS = @CPPFLAGS@
1440! # LDFLAGS = @LDFLAGS@
1441! # LIBS = @LIBS@
1442! # depcomp = $(SHELL) $(top_srcdir)/depcomp
1443! # am__depfiles_maybe = depfiles
1444! # @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/manripper.Po \
1445! # @AMDEP_TRUE@ ./$(DEPDIR)/removeduplicates.Po
1446! # CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
1447! # $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
1448! # CXXLD = $(CXX)
1449! # CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
1450! # -o $@
1451! # CXXFLAGS = @CXXFLAGS@
1452! # CFLAGS = @CFLAGS@
1453! # COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
1454! # $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
1455! # CCLD = $(CC)
1456! # LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
1457! # DIST_SOURCES = $(manripper_SOURCES) $(removeduplicates_SOURCES)
1458! # DIST_COMMON = README Makefile.am Makefile.in
1459! # SOURCES = $(manripper_SOURCES) $(removeduplicates_SOURCES)
1460!
1461! # all: all-am
1462!
1463! # .SUFFIXES:
1464! # .SUFFIXES: .chapt.txt .chapt .book.tex .book.txt .book .tex .dvi .ps .pdf .ys .cpp .o .obj .yts
1465! # $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
1466! # cd $(top_srcdir) && \
1467! # $(AUTOMAKE) --gnu manmake/Makefile
1468! # Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
1469! # cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
1470!
1471! # clean-noinstPROGRAMS:
1472! # -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
1473! # manripper$(EXEEXT): $(manripper_OBJECTS) $(manripper_DEPENDENCIES)
1474! # @rm -f manripper$(EXEEXT)
1475! # $(CXXLINK) $(manripper_LDFLAGS) $(manripper_OBJECTS) $(manripper_LDADD) $(LIBS)
1476! # removeduplicates$(EXEEXT): $(removeduplicates_OBJECTS) $(removeduplicates_DEPENDENCIES)
1477! # @rm -f removeduplicates$(EXEEXT)
1478! # $(CXXLINK) $(removeduplicates_LDFLAGS) $(removeduplicates_OBJECTS) $(removeduplicates_LDADD) $(LIBS)
1479! # binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
1480! # install-binSCRIPTS: $(bin_SCRIPTS)
1481! # @$(NORMAL_INSTALL)
1482! # $(mkinstalldirs) $(DESTDIR)$(bindir)
1483! # @list='$(bin_SCRIPTS)'; for p in $$list; do \
1484! # if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1485! # if test -f $$d$$p; then \
1486! # f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
1487! # echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
1488! # $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
1489! # else :; fi; \
1490! # done
1491!
1492! # uninstall-binSCRIPTS:
1493! # @$(NORMAL_UNINSTALL)
1494! # @list='$(bin_SCRIPTS)'; for p in $$list; do \
1495! # f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
1496! # echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
1497! # rm -f $(DESTDIR)$(bindir)/$$f; \
1498! # done
1499!
1500! # mostlyclean-compile:
1501! # -rm -f *.$(OBJEXT) core *.core
1502!
1503! # distclean-compile:
1504! # -rm -f *.tab.c
1505!
1506! # @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/manripper.Po@am__quote@
1507! # @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/removeduplicates.Po@am__quote@
1508!
1509! # distclean-depend:
1510! # -rm -rf ./$(DEPDIR)
1511!
1512! # .cpp.o:
1513! # @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1514! # @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
1515! # @AMDEP_TRUE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1516! # $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
1517!
1518! # .cpp.obj:
1519! # @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1520! # @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
1521! # @AMDEP_TRUE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1522! # $(CXXCOMPILE) -c -o $@ `cygpath -w $<`
1523! # CXXDEPMODE = @CXXDEPMODE@
1524! # uninstall-info-am:
1525!
1526! # ETAGS = etags
1527! # ETAGSFLAGS =
1528!
1529! # tags: TAGS
1530!
1531! # ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1532! # list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1533! # unique=`for i in $$list; do \
1534! # if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1535! # done | \
1536! # $(AWK) ' { files[$$0] = 1; } \
1537! # END { for (i in files) print i; }'`; \
1538! # mkid -fID $$unique
1539!
1540! # TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
1541! # $(TAGS_FILES) $(LISP)
1542! # tags=; \
1543! # here=`pwd`; \
1544! # list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1545! # unique=`for i in $$list; do \
1546! # if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1547! # done | \
1548! # $(AWK) ' { files[$$0] = 1; } \
1549! # END { for (i in files) print i; }'`; \
1550! # test -z "$(ETAGS_ARGS)$$tags$$unique" \
1551! # || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1552! # $$tags $$unique
1553!
1554! # GTAGS:
1555! # here=`$(am__cd) $(top_builddir) && pwd` \
1556! # && cd $(top_srcdir) \
1557! # && gtags -i $(GTAGS_ARGS) $$here
1558!
1559! # distclean-tags:
1560! # -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
1561! # DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
1562!
1563! # top_distdir = ..
1564! # distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
1565!
1566! # distdir: $(DISTFILES)
1567! # @list='$(DISTFILES)'; for file in $$list; do \
1568! # if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1569! # dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
1570! # if test "$$dir" != "$$file" && test "$$dir" != "."; then \
1571! # dir="/$$dir"; \
1572! # $(mkinstalldirs) "$(distdir)$$dir"; \
1573! # else \
1574! # dir=''; \
1575! # fi; \
1576! # if test -d $$d/$$file; then \
1577! # if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1578! # cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
1579! # fi; \
1580! # cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
1581! # else \
1582! # test -f $(distdir)/$$file \
1583! # || cp -p $$d/$$file $(distdir)/$$file \
1584! # || exit 1; \
1585! # fi; \
1586! # done
1587! # check-am: all-am
1588! # $(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS)
1589! # check: check-am
1590! # all-am: Makefile $(PROGRAMS) $(SCRIPTS)
1591!
1592! # installdirs:
1593! # $(mkinstalldirs) $(DESTDIR)$(bindir)
1594!
1595! # install: install-am
1596! # install-exec: install-exec-am
1597! # install-data: install-data-am
1598! # uninstall: uninstall-am
1599!
1600! # install-am: all-am
1601! # @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1602!
1603! # installcheck: installcheck-am
1604! # install-strip:
1605! # $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1606! # INSTALL_STRIP_FLAG=-s \
1607! # `test -z '$(STRIP)' || \
1608! # echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1609! # mostlyclean-generic:
1610!
1611! # clean-generic:
1612! # -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1613!
1614! # distclean-generic:
1615! # -rm -f Makefile $(CONFIG_CLEAN_FILES)
1616!
1617! # maintainer-clean-generic:
1618! # @echo "This command is intended for maintainers to use"
1619! # @echo "it deletes files that may require special tools to rebuild."
1620! # clean: clean-am
1621!
1622! # clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
1623!
1624! # distclean: distclean-am
1625!
1626! # distclean-am: clean-am distclean-compile distclean-depend \
1627! # distclean-generic distclean-tags
1628!
1629! # dvi: dvi-am
1630!
1631! # dvi-am:
1632!
1633! # info: info-am
1634!
1635! # info-am:
1636!
1637! # install-data-am: install-data-local
1638!
1639! # install-exec-am: install-binSCRIPTS
1640!
1641! # install-info: install-info-am
1642!
1643! # install-man:
1644!
1645! # installcheck-am:
1646!
1647! # maintainer-clean: maintainer-clean-am
1648!
1649! # maintainer-clean-am: distclean-am maintainer-clean-generic
1650!
1651! # mostlyclean: mostlyclean-am
1652!
1653! # mostlyclean-am: mostlyclean-compile mostlyclean-generic
1654!
1655! # uninstall-am: uninstall-binSCRIPTS uninstall-info-am
1656!
1657! # .PHONY: GTAGS all all-am check check-am clean clean-generic \
1658! # clean-noinstPROGRAMS distclean distclean-compile \
1659! # distclean-depend distclean-generic distclean-tags distdir dvi \
1660! # dvi-am info info-am install install-am install-binSCRIPTS \
1661! # install-data install-data-am install-data-local install-exec \
1662! # install-exec-am install-info install-info-am install-man \
1663! # install-strip installcheck installcheck-am installdirs \
1664! # maintainer-clean maintainer-clean-generic mostlyclean \
1665! # mostlyclean-compile mostlyclean-generic tags uninstall \
1666! # uninstall-am uninstall-binSCRIPTS uninstall-info-am
1667!
1668!
1669! # # top target
1670! # all-am: @BOOKS_HTML@ @PS_DOCS@ @PDF_DOCS@ hints
1671!
1672! # hints: manripper removeduplicates $(REFSOURCES) $(REFPROGSOURCES) ref.book.txt refprog.book.txt
1673! # rm -f hints.unsorted
1674! # for file in ref.book.txt $(REFSOURCES) refprog.book.txt $(REFPROGSOURCES); do \
1675! # ./manripper $(srcdir)/"$$file" >> hints.unsorted ; done
1676! # sort -t ":" hints.unsorted > hints.sorted
1677! # ./removeduplicates hints.sorted hints.singlesorted
1678! # echo "::::" > tail.txt
1679! # cat hints.singlesorted tail.txt > hints
1680!
1681! # .chapt.txt.chapt:
1682! # perl $(srcdir)/txt2yacasdoc.pl < $< > $@
1683!
1684! # .book.txt.book:
1685! # perl $(srcdir)/txt2yacasdoc.pl < $< > $@
1686!
1687! # .book.book.tex:
1688! # sh $(srcdir)/book2TeX.sh -run "$(ouryacas)" $< $@
1689!
1690! # .tex.dvi:
1691! # latex $< > /dev/null
1692! # latex $< > /dev/null
1693! # # The perl filter is used to help the 'makeindex' command:
1694! # # 1) replace \verb|...| by \verb=...=
1695! # # 2) escape ()|@! using a preceding quote "
1696! # # Note that @ and ! are not always escaped because they are sometimes part of the index entry and sometimes control chars. Heuristics are used to guess correctly.
1697! # @perl -pe 's/(\\verb)\|([^|]*)\|/$$1=$$2=/g;s/([()|])/"$$1/g;if(/\@/){s/!/"!/g;};s/\@([^\\])/"\@$$1/g;'<$*.idx>$*.1.idx
1698! # @makeindex $*.1.idx -o $*.ind || echo "***Warning: a problem with 'makeindex'"
1699! # latex $< > /dev/null
1700!
1701! # .dvi.ps:
1702! # dvips -q -o $@ $<
1703! # @echo "***Documentation created:" $*.ps
1704!
1705! # .dvi.pdf:
1706! # pdflatex $* > /dev/null
1707! # @echo "***Documentation created:" $*.pdf
1708!
1709! # .chapt.ys:
1710! # sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
1711!
1712! # .chapt.yts:
1713! # sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
1714!
1715! # # generate test code from book sources
1716!
1717! # ref.book.yts: $(REFSOURCES) $(srcdir)/txt2example.pl
1718! # @echo "// tests for ref.book" > $@
1719! # for file in $(REFSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
1720!
1721! # refprog.book.yts: $(REFPROGSOURCES) $(srcdir)/txt2example.pl
1722! # @echo "// tests for refprog.book" > $@
1723! # for file in $(REFPROGSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
1724!
1725! # # specify books that need chapters
1726! # essays.book.tex: essays.book $(ESSAYCHAPTERS)
1727! # ref.book.tex : ref.book $(REFCHAPTERS)
1728! # refprog.book.tex : refprog.book $(REFPROGCHAPTERS)
1729! # coding.book.tex : coding.book $(CODINGCHAPTERS)
1730! # intro.book.tex: intro.book $(INTROCHAPTERS)
1731! # Algo.book.tex: Algo.book $(ALGOCHAPTERS)
1732!
1733! # # special "virtual" chapter built from corefunctions.h. This is printed by a special program "gencorefunctions", compiled together with yacas.
1734!
1735! # # special chapter copied from the GPL (need to replace "<" and ">")
1736! # GPL.chapt: $(top_srcdir)/COPYING
1737! # cat $(top_srcdir)/COPYING | sed -e 's,<,{<},g;s,>,{>},g;' | perl $(srcdir)/txt2yacasdoc.pl > $@
1738!
1739! # ps-docs: $(PS_DOCS)
1740! # pdf-docs: $(PDF_DOCS)
1741!
1742! # # The top HTML docs target is now "manicon.html" that is built by GenerateIndex().
1743! # # The dependence on $(HTMLBOOKS) is only to make sure that all HTML docs
1744! # # are built - in fact manicon.html is a constant file and has no dependencies.
1745! # manicon.html: books.html $(HTMLBOOKS)
1746!
1747! # # books.html only depends on top book files (*.book.txt).
1748! # books.html: $(BOOKS) $(srcdir)/indexmaker $(srcdir)/styleplain
1749! # -echo '[DefaultDirectory("$(srcdir)/"); Use("indexmaker"); GenerateIndex();];' | $(ouryacas) -fpc
1750!
1751! # intromanual.html : intro.book $(INTROCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1752! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("intro");];' | $(ouryacas) -fpc
1753!
1754! # codingmanual.html : coding.book $(CODINGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1755! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("coding");];' | $(ouryacas) -fpc
1756!
1757! # essaysmanual.html : essays.book $(ESSAYCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1758! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("essays");];' | $(ouryacas) -fpc
1759!
1760! # refmanual.html : ref.book $(REFCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1761! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("ref");];' | $(ouryacas) -fpc
1762!
1763! # refprogmanual.html : ref.book $(REFCHAPTERS) refprog.book $(REFPROGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1764! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("refprog");];' | $(ouryacas) -fpc
1765!
1766! # Algomanual.html : Algo.book $(ALGOCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1767! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("Algo");];' | $(ouryacas) -fpc
1768!
1769! # install-data-local: @INSTALL_HTML@ @INSTALL_PS@ install-scripts install-hints
1770!
1771! # install-hints: hints
1772! # $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/documentation
1773! # $(INSTALL_DATA) hints $(DESTDIR)$(pkgdatadir)/documentation/hints
1774!
1775! # install-scripts: $(ytxt2tex_DEPS)
1776! # $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/manmake/
1777! # -for file in $(ytxt2tex_DEPS); do \
1778! # $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/manmake/$$file; \
1779! # done
1780!
1781! # install-html: books.html
1782! # $(mkinstalldirs) $(DESTDIR)$(htmldir)/
1783! # $(INSTALL_DATA) $(top_srcdir)/docs/yacaslogo.gif $(DESTDIR)$(htmldir)/
1784! # -for file in *.html; do \
1785! # $(INSTALL_DATA) $$file $(DESTDIR)$(htmldir)/$$file; \
1786! # done
1787!
1788! # install-ps: ps-docs
1789! # $(mkinstalldirs) $(DESTDIR)$(psdir)/
1790! # -for file in $(PS_DOCS); do \
1791! # $(INSTALL_DATA) $$file $(DESTDIR)$(psdir)/$$file; \
1792! # done
1793!
1794! # # gzip $(DESTDIR)$(psdir)/$$file;
1795! # # Tell versions [3.59,3.63) of GNU make to not export all variables.
1796! # # Otherwise a system limit (for SysV at least) may be exceeded.
1797! # .NOEXPORT:
1798diff -crB yacas-1.2.2old/src/Makefile.in yacas-1.2.2new/src/Makefile.in
1799*** yacas-1.2.2old/src/Makefile.in 2007-09-27 15:24:38.000000000 +0200
1800--- yacas-1.2.2new/src/Makefile.in 2010-05-01 00:08:09.000000000 +0200
1801***************
1802*** 597,603 ****
1803  $(srcdir)/platmath.cpp: fastprimes.c
1804  
1805  fastprimes.c: mkfastprimes
1806! ./mkfastprimes > fastprimes.c
1807  
1808  clean-compile:
1809      test -z "libyacasplatform.a" || rm -rf libyacasplatform.a
1810--- 597,603 ----
1811  $(srcdir)/platmath.cpp: fastprimes.c
1812  
1813  fastprimes.c: mkfastprimes
1814! /tmp/mkfastprimes > fastprimes.c
1815  
1816  clean-compile:
1817      test -z "libyacasplatform.a" || rm -rf libyacasplatform.a
1818

Archive Download this file



interactive