File: Makefile.in

package info (click to toggle)
mpich 4.3.0%2Breally4.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 419,120 kB
  • sloc: ansic: 1,215,557; cpp: 74,755; javascript: 40,763; f90: 20,649; sh: 18,463; xml: 14,418; python: 14,397; perl: 13,772; makefile: 9,279; fortran: 8,063; java: 4,553; asm: 324; ruby: 176; lisp: 19; php: 8; sed: 4
file content (76 lines) | stat: -rw-r--r-- 2,335 bytes parent folder | download | duplicates (7)
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
ALL: all-redirect
SHELL = @SHELL@
srcdir = @srcdir@
MPICH_VERSION = @MPICH_VERSION@

.SUFFIXES: .pdf .dvi .tex

# Set these to the location of the web and ftp locations for the documents
WEBDIR = /mcs/www/mpi/mpich/docs
FTPDIR = /home/ftp/pub/mpi/mpich

@VPATH@

LATEX      = TEXINPUTS=".:$(srcdir):" ; export TEXINPUTS ; latex
BIBTEX     = BIBINPUTS=".:$(srcdir):" ; export BIBINPUTS ; bibtex
DVIPDFM    = TEXINPUTS=".:$(srcdir):" ; export TEXINPUTS ; dvipdfm
LATEX2HTML = latex2html

# Update the %MPICH_VERSION% with current version string.
install.tex: install.tex.vin
	sed -e "s/%MPICH_VERSION%/${MPICH_VERSION}/g" $? > $@

install.dvi: install.tex
	-$(LATEX) install.tex
	-$(LATEX) install.tex
	$(LATEX)  install.tex

install.pdf: install.dvi
	$(DVIPDFM) install.dvi

# Use latex2html to create the HTML version.  There are several 
# steps needed to workaround features of latex2html
# 1. latex2html needs the install.aux file, so we run a latex step if
#    necessary
# 2. latex2html is not compatible with VPATH builds (it runs in the
#    directory that contains the source file), so we copy the source
#    file.  If more source files are added, this step will need to 
#    be changed
install.aux: install.tex
	$(LATEX) install.tex

install/install.html: install.aux install.tex
	$(LATEX2HTML) install.tex

# Here are some thoughts on using tohtml
#	tohtml -debugfile -default -dosnl -gaudy \
#              -basedef $(srcdir)/../mpiman.def $(srcdir)/install.tex
#	tohtml -default -dosnl -gaudy -basedef $(srcdir)/../mpiman.def \
#	$(srcdir)/install.tex

all-redirect: install.pdf

mandoc:

htmldoc:

latexdoc: ALL

clean:
	-rm -f *.dvi *.log *.out *.aux *.toc *.bbl *.blg *.pdf *.ps

distclean: clean

install: install.pdf install/install.html
	@if [ -z "$(WEBDIR)" ] ; then echo "No WEBDIR set" ; exit 1 ; fi
	@if [ ! -d $(WEBDIR) ] ; then echo "Create $(WEBDIR) first" ; exit 1 ;fi
	@if [ -z "$(FTPDIR)" ] ; then echo "No FTPDIR set" ; exit 1 ; fi
	@if [ ! -d $(FTPDIR) ] ; then echo "Create $(FTPDIR) first" ; exit 1 ;fi
	cp install.pdf $(WEBDIR)/install.pdf
	cp -rp install $(WEBDIR)/install-new
	rm -rf $(WEBDIR)/install
	mv -f $(WEBDIR)/install-new $(WEBDIR)/install
	cp install.pdf $(FTPDIR)/install.pdf
	cp -rp install $(FTPDIR)/install-new
	rm -rf $(WEBDIR)/install
	mv -f $(FTPDIR)/install-new $(FTPDIR)/install