ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/doc/playbook/Makefile.am
Revision: 1.1.1.1 (vendor branch)
Committed: Fri Feb 3 07:12:37 2006 UTC (18 years, 4 months ago) by root
Branch: UPSTREAM
CVS Tags: UPSTREAM_2006_03_15, UPSTREAM_2006_02_22, UPSTREAM_2006_02_03
Changes since 1.1: +0 -0 lines
Log Message:
initial import

File Contents

# Content
1
2
3 TEX = handbook.tex title.tex chap1.tex chap2.tex chap3.tex chap4.tex\
4 chap5.tex chap6.tex chap7.tex appA.tex appB.tex appC.tex
5
6 dist_noinst_SCRIPTS = make_index.pl
7
8 EXTRA_DIST = Makefile.in bonus-extract char-extract items-extract generic-extract\
9 gods-extract levels-extract local.sty skills-extract skills2-extract\
10 spellpath-extract statskmod-extract treas1-extract treas2-extract \
11 $(TEX) handbook.idx sorter empty.pbm fig/screen_dia.ps
12
13 TABLES= bonus.tex char.tex equip.tex index.tex gods.tex levels.tex skills.tex\
14 skill_stat.tex statskmod.tex spellpath.tex version.tex
15
16 ICONS = altar.tex arm_mail.tex br_wall.tex books.tex bows.tex cauldron.tex \
17 corpse.tex dir_spin.tex flesh.tex food.tex foodone.tex fr_wall.tex \
18 gatedoor.tex gems.tex gravestone.tex guild.tex holysymbol.tex \
19 handbutt.tex horns.tex id_altar.tex keys.tex lockpicks.tex\
20 lighter.tex money.tex pit.tex potion.tex potions.tex rings.tex \
21 rods.tex runeblast.tex runedeath.tex runefire.tex runefrost.tex\
22 runeshock.tex runemark.tex runegen.tex savebed.tex scrolls.tex \
23 shops.tex shopmat.tex sign.tex talisman.tex wands.tex
24
25 CLEANFILES = $(TABLES) $(ICONS) items .bmaps in_* *.ps *x*.ppm tmp.ppm work.ppm \
26 handbook.toc handbook.lot handbook.dvi handbook.log handbook.aux handbook.idx
27
28 CROSSBIN = ../../server/crossfire
29 PERL = @PERL@
30
31 handbook: ../handbook.ps
32
33 ../handbook.ps: handbook.dvi
34 dvips -o ../handbook.ps handbook.dvi
35
36 handbook.dvi: handbook.aux
37 latex handbook.tex
38
39 handbook.aux: handbook.tex $(TABLES) $(ICONS)
40 $(RM) handbook.aux
41 latex handbook.tex
42
43 dump_switches: $(CROSSBIN)
44 @$(RM) dump_switches
45 @$(CROSSBIN) -m >/dev/null 2>&1 && touch dump_switches || (echo "You need to define DUMP_SWITCHES in include/config.h and"; echo "recompile before you can create the handbook.")
46 @$(MAKE) $(MFLAGS) check_ok
47
48 $(CROSSBIN):
49 ( cd $(top_srcdir)/server ; make crossfire)
50
51 check_ok: dump_switches
52 @$(RM) dump_switches
53
54 .bmaps: $(top_srcdir)/lib/archetypes
55 $(RM) *.ps
56 touch .bmaps
57
58 index.tex handbook.idx: make_index.pl
59 touch handbook.idx
60 $(PERL) make_index.pl handbook.idx > index.tex;
61
62 items: .bmaps in_items ../scripts/makeps.pl items.ps
63 $(PERL) ../scripts/makeps.pl output=tex libdir=$(top_srcdir)/lib archdir=$(top_srcdir)/lib/ size=0.4 input=in_items inarch=$(pkgdatadir)/archetypes > items
64
65 in_items: items-extract $(pkgdatadir)/archetypes
66 $(AWK) -f items-extract $(pkgdatadir)/archetypes > in_items
67
68 bonus.tex:
69 $(AWK) -v living_c=$(top_srcdir)/common/living.c -f bonus-extract > bonus.tex
70
71 char.tex: .bmaps in_char ../scripts/makeps.pl characters.ps
72 $(PERL) ../scripts/makeps.pl output=tex libdir=$(top_srcdir)/lib archdir=$(top_srcdir)/lib/ size=0.4 input=in_char inarch=$(pkgdatadir)/archetypes > char.tex
73
74 in_char: char-extract $(pkgdatadir)/archetypes $(top_srcdir)/common/living.c
75 $(AWK) -v living_c=$(top_srcdir)/common/living.c -f char-extract $(pkgdatadir)/archetypes > in_char
76
77 equip.tex: in_equip treas2-extract
78 $(AWK) -v eqitems=in_equip -f treas2-extract $(top_srcdir)/lib/treasures.bld > equip.tex
79
80 in_equip: treas1-extract $(pkgdatadir)/archetypes $(top_srcdir)/common/living.c
81 $(AWK) -v living_c=$(top_srcdir)/common/living.c -f treas1-extract $(pkgdatadir)/archetypes | sort -d > in_equip
82
83 gods.tex: gods-extract $(CROSSBIN)
84 $(AWK) -F, -v crosscmd="$(CROSSBIN) -m8" -f gods-extract > gods.tex
85
86 levels.tex:
87 $(AWK) -v living_c=../../common/living.c -f levels-extract > levels.tex
88
89 skills.tex: in_equip skills-extract
90 $(AWK) -v eqitems=in_equip -f skills-extract $(top_srcdir)/lib/treasures.bld > skills.tex
91
92 skill_stat.tex: skills2-extract $(CROSSBIN)
93 $(AWK) -F, -v crosscmd="$(CROSSBIN) -m5" -f skills2-extract | sort > skill_stat.tex
94
95 statskmod.tex:
96 $(AWK) -v living_c=../../server/skill_util.c -f statskmod-extract > statskmod.tex
97
98 spellpath.tex:
99 $(AWK) -v living_c=../../include/spellist.h -f spellpath-extract |sort > spellpath.tex
100
101 version.tex: $(CROSSBIN)
102 $(CROSSBIN) -v 2>&1 | grep "^This is" | cut -d" " -f4- > version.tex
103
104 sp_item.tex: handbutt.tex gatedoor.tex pit.tex br_wall.tex fr_wall.tex dir_spin.tex
105
106 characters.ps items.ps:
107 touch $@
108
109 cauldron.tex: items sorter
110 egrep -e "^122 " items | grep "cauldron" | $(AWK) -F'&' -f generic-extract | sort > cauldron.tex
111
112 guild.tex: items sorter
113 egrep -e "^66 " items | grep "guild" | $(AWK) -F'&' -f generic-extract | sort > guild.tex
114
115 holysymbol.tex: items sorter
116 egrep -e "^43 " items | grep "holy" | $(AWK) -F'&' -f generic-extract | sort > holysymbol.tex
117
118 lockpicks.tex: items sorter
119 egrep -e "^43 " items | grep "lockpicks" | $(AWK) -F'&' -f generic-extract | sort > lockpicks.tex
120
121 potion.tex: items sorter
122 egrep -e "^5 " items | grep "potiongen" | $(AWK) -F'&' -f generic-extract | sort > potion.tex
123
124 runeblast.tex: items sorter
125 egrep -e "^154 " items | grep "rune-blast" | $(AWK) -F'&' -f generic-extract | sort > runeblast.tex
126
127 runedeath.tex: items sorter
128 egrep -e "^154 " items | grep "rune-death" | $(AWK) -F'&' -f generic-extract | sort > runedeath.tex
129
130 runegen.tex: items sorter
131 egrep -e "^154 " items | grep "generic-rune" | $(AWK) -F'&' -f generic-extract | sort > runegen.tex
132
133 runefrost.tex: items sorter
134 egrep -e "^154 " items | grep "rune-frost." | $(AWK) -F'&' -f generic-extract | sort > runefrost.tex
135
136 runefire.tex: items sorter
137 egrep -e "^154 " items | grep "rune-fire." | $(AWK) -F'&' -f generic-extract | sort > runefire.tex
138
139 runemark.tex: items sorter
140 egrep -e "^98 " items | grep "rune-mark." | $(AWK) -F'&' -f generic-extract | sort > runemark.tex
141
142 runeshock.tex: items sorter
143 egrep -e "^154 " items | grep "rune-shock." | $(AWK) -F'&' -f generic-extract | sort > runeshock.tex
144
145 shops.tex: items sorter
146 egrep -e "^66 " items | grep "store" | $(AWK) -F'&' -f generic-extract | sort > shops.tex
147
148 talisman.tex: items sorter
149 egrep -e "^43 " items | grep "talisman" | $(AWK) -F'&' -f generic-extract | sort > talisman.tex
150
151 altar.tex: items sorter
152 egrep -e "^18 " items | $(AWK) -F'&' -f generic-extract | sort > altar.tex
153
154 arm_mail.tex: items generic-extract
155 egrep -e "^16 " items | $(AWK) -F'&' -f generic-extract | sort -t'&' -n +4 -5 > arm_mail.tex
156
157 br_wall.tex: items sorter
158 egrep -e "^45 " items | $(AWK) -F'&' -f generic-extract | sort > br_wall.tex
159
160 books.tex: items sorter
161 egrep -e "^8 " items | $(AWK) -F'&' -f generic-extract | sort > books.tex
162
163 bows.tex: items generic-extract
164 egrep -e "^14 " items | $(AWK) -F'&' -f generic-extract | sort > bows.tex
165
166 corpse.tex: items sorter
167 egrep -e "^157 " items | $(AWK) -F'&' -f generic-extract | sort > corpse.tex
168
169 dir_spin.tex: items sorter
170 egrep -e "^90 " items | $(AWK) -F'&' -f generic-extract | sort > dir_spin.tex
171 egrep -e "^112 " items | $(AWK) -F'&' -f generic-extract | sort >> dir_spin.tex
172
173 flesh.tex: items sorter
174 egrep -e "^72 " items | $(AWK) -F'&' -f generic-extract | sort > flesh.tex
175
176 food.tex: items sorter
177 egrep -e "^6 " items | $(AWK) -F'&' -f generic-extract | sort > food.tex
178
179 foodone.tex: items sorter
180 egrep -e "^6 " items | $(AWK) -F'&' -f generic-extract | grep "food" > foodone.tex
181
182 fr_wall.tex: items sorter
183 egrep -e "^62 " items | $(AWK) -F'&' -f generic-extract | sort > fr_wall.tex
184
185 gatedoor.tex: items sorter
186 egrep -e "^20 " items | $(AWK) -F'&' -f generic-extract | sort > gatedoor.tex
187 egrep -e "^23 " items | $(AWK) -F'&' -f generic-extract | sort >> gatedoor.tex
188 egrep -e "^91 " items | $(AWK) -F'&' -f generic-extract | sort >> gatedoor.tex
189
190 gems.tex: items sorter
191 egrep -e "^60 " items | $(AWK) -F'&' -f generic-extract | sort > gems.tex
192
193 gravestone.tex: items sorter
194 egrep -e "^38 " items | $(AWK) -F'&' -f generic-extract | sort > gravestone.tex
195
196 handbutt.tex: items sorter
197 egrep -e "^92 " items | $(AWK) -F'&' -f generic-extract | sort > handbutt.tex
198 egrep -e "^93 " items | $(AWK) -F'&' -f generic-extract | sort >> handbutt.tex
199
200 horns.tex: items sorter
201 egrep -e "^35 " items | $(AWK) -F'&' -f generic-extract | sort > horns.tex
202
203 id_altar.tex: items sorter
204 egrep -e "^139 " items | $(AWK) -F'&' -f generic-extract | sort > id_altar.tex
205
206 keys.tex: items sorter
207 egrep -e "^21 " items | $(AWK) -F'&' -f generic-extract | sort > keys.tex
208 egrep -e "^24 " items | $(AWK) -F'&' -f generic-extract | sort >> keys.tex
209
210 lighter.tex: items sorter
211 egrep -e "^75 " items | $(AWK) -F'&' -f generic-extract | sort > lighter.tex
212
213 money.tex: items sorter
214 egrep -e "^36 " items | $(AWK) -F'&' -f generic-extract | sort > money.tex
215
216 pit.tex: items sorter
217 egrep -e "^95 " items | $(AWK) -F'&' -f generic-extract | sort > pit.tex
218
219 potions.tex: items sorter
220 egrep -e "^5 " items | $(AWK) -F'&' -f generic-extract | sort > potions.tex
221
222 rings.tex: items sorter
223 egrep -e "^70 " items | $(AWK) -F'&' -f generic-extract | sort > rings.tex
224
225 rods.tex: items sorter
226 egrep -e "^3 " items | $(AWK) -F'&' -f generic-extract | sort > rods.tex
227
228 savebed.tex: items sorter
229 egrep -e "^106 " items | $(AWK) -F'&' -f generic-extract | sort > savebed.tex
230
231 scrolls.tex: items sorter
232 egrep -e "^111 " items | $(AWK) -F'&' -f generic-extract | sort > scrolls.tex
233
234 shopmat.tex: items sorter
235 egrep -e "^69 " items | $(AWK) -F'&' -f generic-extract | sort > shopmat.tex
236
237 sign.tex: items sorter
238 egrep -e "^98 " items | $(AWK) -F'&' -f generic-extract | sort > sign.tex
239
240 wands.tex: items sorter
241 egrep -e "^109 " items | $(AWK) -F'&' -f generic-extract | sort > wands.tex
242