View | Details | Raw Unified | Return to bug 1196
Collapse All | Expand All

(-)a/doc/models/Makefile (-3 / +9 lines)
 Lines 50-56    Link Here 
50
	$(SRC)/flow-monitor/doc/flow-monitor.rst \
50
	$(SRC)/flow-monitor/doc/flow-monitor.rst \
51
51
52
# list all model library figure files that need to be copied to 
52
# list all model library figure files that need to be copied to 
53
# $SOURCETEMP/figures.  Either a .dia or both a .pdf and .png
53
# $SOURCETEMP/figures.  For each figure to be included in all
54
# documentation formats (html, latex...) the following formats are supported: 
55
#  1) a single .dia file (preferred option, because it can be edited)
56
#  2) a single .eps file
57
#  3) both a .pdf and .png file
54
SOURCEFIGS = \
58
SOURCEFIGS = \
55
	figures/testbed.dia \
59
	figures/testbed.dia \
56
	figures/emulated-channel.dia \
60
	figures/emulated-channel.dia \
 Lines 73-79    Link Here 
73
	$(SRC)/netanim/doc/animation-dumbbell.png \
77
	$(SRC)/netanim/doc/animation-dumbbell.png \
74
	$(SRC)/netanim/doc/animation-dumbbell.pdf \
78
	$(SRC)/netanim/doc/animation-dumbbell.pdf \
75
79
76
# specify figures for build process (all dia figures)
80
# specify figures from which .png and .pdf figures need to be
81
# generated (all dia and eps figures)
77
IMAGES_EPS = \
82
IMAGES_EPS = \
78
	$(FIGURES)/testbed.eps \
83
	$(FIGURES)/testbed.eps \
79
	$(FIGURES)/emulated-channel.eps \
84
	$(FIGURES)/emulated-channel.eps \
 Lines 90-96    Link Here 
90
	$(FIGURES)/WimaxArchitecture.eps \
95
	$(FIGURES)/WimaxArchitecture.eps \
91
        $(FIGURES)/auvmobility-classes.eps \
96
        $(FIGURES)/auvmobility-classes.eps \
92
97
93
# rescale figures as necessary
98
# rescale pdf figures as necessary
94
$(FIGURES)/testbed.pdf_width = 5in
99
$(FIGURES)/testbed.pdf_width = 5in
95
$(FIGURES)/emulated-channel.pdf_width = 6in
100
$(FIGURES)/emulated-channel.pdf_width = 6in
96
$(FIGURES)/node.pdf_width = 5in
101
$(FIGURES)/node.pdf_width = 5in
 Lines 112-117    Link Here 
112
117
113
%.eps : %.dia; $(DIA) -t eps $< -e $@
118
%.eps : %.dia; $(DIA) -t eps $< -e $@
114
%.png : %.dia; $(DIA) -t png $< -e $@
119
%.png : %.dia; $(DIA) -t png $< -e $@
120
%.png : %.eps; $(CONVERT) $< $@
115
%.pdf : %.eps; $(EPSTOPDF) $< -o=$@; if test x$($@_width) != x; then TMPFILE=`mktemp`; ./rescale-pdf.sh $($@_width) $@ $${TMPFILE} && mv $${TMPFILE} $@; fi
121
%.pdf : %.eps; $(EPSTOPDF) $< -o=$@; if test x$($@_width) != x; then TMPFILE=`mktemp`; ./rescale-pdf.sh $($@_width) $@ $${TMPFILE} && mv $${TMPFILE} $@; fi
116
122
117
# You can set these variables from the command line.
123
# You can set these variables from the command line.

Return to bug 1196