~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to fpcdocs/internal/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#######################################################################
 
2
#
 
3
# Makefile to compile all examples and convert them to PDF/PS
 
4
 
5
#######################################################################
 
6
 
 
7
 
 
8
# Script to convert the programs to LaTeX examples which can be included.
 
9
FIG2DEV=fig2dev -L
 
10
 
 
11
#######################################################################
 
12
# No need to edit after this line.
 
13
#######################################################################
 
14
 
 
15
.SUFFIXES: .png .pdf .fig .eps .ps
 
16
 
 
17
.PHONY: all tex clean pdfdoc dvidoc psdoc pdfdist dvidist psdist
 
18
 
 
19
SOURCEOBJECTS=arch1 arch2 arch3 arch4 arch5 arch6 arch7 arch8 arch9 arch10 arch11
 
20
 
 
21
FIGSOURCE=$(addsuffix .fig, $(SOURCEOBJECTS))
 
22
 
 
23
PDFOBJECTS=$(addsuffix .pdf, $(SOURCEOBJECTS))
 
24
 
 
25
PNGOBJECTS=$(addsuffix .png, $(SOURCEOBJECTS))
 
26
 
 
27
EPSOBJECTS=$(addsuffix .eps, $(SOURCEOBJECTS))
 
28
 
 
29
 
 
30
all : pdfdoc
 
31
#dvidoc psdoc
 
32
 
 
33
dist: pdfdist 
 
34
#dvidist psdist
 
35
 
 
36
# 4 times latex because of longtable. Theoretically it can even be higher, but we
 
37
# don't use multicol.
 
38
 
 
39
pdfdoc: comparch.pdf
 
40
 
 
41
comparch.pdf: $(PDFOBJECTS) comparch.tex
 
42
        pdflatex comparch
 
43
        pdflatex comparch
 
44
        pdflatex comparch
 
45
        pdflatex comparch
 
46
 
 
47
dvidoc: comparch.dvi
 
48
 
 
49
comparch.dvi: $(EPSOBJECTS) comparch.tex
 
50
        latex comparch
 
51
        latex comparch
 
52
        latex comparch
 
53
        latex comparch
 
54
 
 
55
psdoc: comparch.ps
 
56
 
 
57
comparch.ps: comparch.dvi
 
58
        dvips comparch
 
59
 
 
60
#######################################################################
 
61
# zip targets.
 
62
 
 
63
dvidist: arch-dvi.zip
 
64
 
 
65
arch-dvi.zip: comparch.dvi
 
66
        zip arch-dvi comparch.dvi
 
67
 
 
68
pdfdist: arch-pdf.zip
 
69
 
 
70
arch-pdf.zip: comparch.pdf
 
71
        zip arch-pdf comparch.pdf
 
72
 
 
73
psdist: arch-ps.zip
 
74
 
 
75
arch-ps.zip: comparch.ps
 
76
        zip arch-ps comparch.ps
 
77
 
 
78
clean : 
 
79
        -rm -f $(PDFOBJECTS) $(PNGOBJECTS) $(EPSOBJECTS) *.aux *.idx *.toc *.lof *.log *.out comparch.pdf comparch.ps comparch.dvi
 
80
        
 
81
distclean: clean
 
82
        -rm -f arch-dvi.zip arch-pdf.zip arch-ps.zip     
 
83
 
 
84
$(PDFOBJECTS): %.pdf: %.fig
 
85
        $(FIG2DEV) pdf $*.fig $*.pdf 
 
86
 
 
87
$(EPSOBJECTS): %.eps: %.fig
 
88
        $(FIG2DEV) eps $*.fig $*.eps
 
89
 
 
90
# Could be handy for latex2html:
 
91
 
 
92
$(PNGOBJECTS): %.png: %.fig
 
93
        $(FIG2DEV) png $*.fig $*.png