Blame view

Giac_maj/giac-1.4.9/doc/es/Makefile.am 2.25 KB
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
  info_TEXINFOS = giac_es.texinfo
  AM_MAKEINFOHTMLFLAGS = --no-split
  
  TEX_LOCAL = cas_es.tex
  PDF_LOCAL = cas_es.pdf
  PS_LOCAL = cas_es.ps
  DVI_LOCAL = cas_es.dvi
  
  EXTRA_DIST = cas_es.tex $(PDF_LOCAL) $(PS_LOCAL) $(DVI_LOCAL) # $(HTML_LOCAL) $(HTML_STAMPS) $(HTML_DIRS_LOCAL)
  
  the_LANG = es
  thelangdocdir = $(docdir)/$(the_LANG)
  dist_thelangdoc_DATA = html_mall html_mtt html_vall xcasmenu xcasex keywords 
  
  pdf-local: $(PDF_LOCAL)
  dvi-local: $(DVI_LOCAL)
  ps-local: $(PS_LOCAL)
  
  install-data-local: $(HTML_STAMPS) $(PDF_LOCAL) $(PS_LOCAL) $(DVI_LOCAL)
  	$(install_sh) -d $(DESTDIR)$(prefix)/share/giac/doc/$(the_LANG)
  #	$(INSTALL_DATA) $(PDF_LOCAL) $(DESTDIR)/$(the_LANG)
  #	$(INSTALL_DATA) $(PS_LOCAL) $(DESTDIR)/$(the_LANG)
  #	$(INSTALL_DATA) $(DVI_LOCAL) $(DESTDIR)/$(the_LANG)
  #	$(INSTALL_DATA) $(HTML_LOCAL) $(DESTDIR)$(prefix)/share/giac/doc/$(the_LANG)
  	$(INSTALL_DATA) $(dist_thelangdoc_DATA) $(DESTDIR)$(prefix)/share/giac/doc/$(the_LANG)
  
  LATEX2HTML_HOMEPAGE = "http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
  LATEX2HTML_ADDRESS = <A HREF=$(LATEX2HTML_HOMEPAGE)>giac</A> documentation written by
  LATEX2HTML_OPTIONS = -local_icons -no_math -html_version 3.2,math
  
  SUFFIXES = .tex .pdf .ps .dvi
  
  if DOC_PROGS
  
  RUN_PDFLATEX = TEXINPUTS=$(srcdir):$$TEXINPUTS $(PDFLATEX)
  RUN_LATEX = TEXINPUTS=$(srcdir):$$TEXINPUTS $(LATEX)
  RUN_MAKEINDEX = TEXINPUTS=$(srcdir):$$TEXINPUTS $(MAKEINDEX)
  RUN_LATEX2HTML = TEXINPUTS=$(srcdir):$$TEXINPUTS $(LATEX2HTML) $(LATEX2HTML_OPTIONS)
  
  .tex.pdf:
  	$(RUN_PDFLATEX) $<
  	$(RUN_PDFLATEX) $<
  	if $(EGREP) -q -e '\\makeindex' $<; then \
  		$(RUN_MAKEINDEX) `echo $@ | sed -e s/\.pdf/\.idx/` ; \
  	fi
  	$(RUN_PDFLATEX) $<
  
  .tex.dvi:
  	$(RUN_LATEX) $<
  	$(RUN_LATEX) $<
  	if $(EGREP) -q -e '\\makeindex' $<; then \
  		$(RUN_MAKEINDEX) `echo $@ | sed -e s/\.dvi/\.idx/` ; \
  	fi
  	$(RUN_LATEX) $<
  
  .dvi.ps:
  	$(DVIPS) -o $@ $<
  
  else
  
  .tex.pdf:
  	if [ ! -f "$@" ]; then \
  		echo '*** Error: TeX is not installed, and $@ is missing' ; \
  		exit 1 ; \
  	fi
  
  .tex.dvi:
  	if [ ! -f "$@" ]; then \
  		echo '*** Error: TeX is not installed, and $@ is missing' ; \
  		exit 1 ; \
  	fi
  
  .tex.ps:
  	if [ ! -f "$@" ]; then \
  		echo '*** Error: TeX is not installed, and $@ is missing' ; \
  		exit 1 ; \
  	fi
  
  dist-hook:
  	echo '*** Error: no tools to rebuild documentation is installed' ; \
  	exit 1
  
  endif