1 |
# |
2 |
# Makefile for crossfire 0.95.0 and beyond |
3 |
# |
4 |
# This file will eventually be replaced by a configure script. But for |
5 |
# now, this simple makefile should do the job. |
6 |
# |
7 |
# Copyright (C) 2001 Mark Wedel & Crossfire Development Team |
8 |
# Copyright (C) 1992 Frank Tore Johansen |
9 |
# |
10 |
# This program is free software; you can redistribute it and/or modify |
11 |
# it under the terms of the GNU General Public License as published by |
12 |
# the Free Software Foundation; either version 2 of the License, or |
13 |
# (at your option) any later version. |
14 |
# |
15 |
# This program is distributed in the hope that it will be useful, |
16 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
17 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18 |
# GNU General Public License for more details. |
19 |
# |
20 |
# You should have received a copy of the GNU General Public License |
21 |
# along with this program; if not, write to the Free Software |
22 |
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
23 |
# |
24 |
# The authors can be reached via e-mail to crossfire-devel@real-time.com |
25 |
|
26 |
pkgstatedir = @pkgstatedir@ |
27 |
|
28 |
WIZHELPFILES = wizhelp/abil wizhelp/addexp wizhelp/banish wizhelp/create wizhelp/debug wizhelp/dump wizhelp/dumpallarchtypes wizhelp/dumpallmaps wizhelp/dumpallobjects wizhelp/dumpbelow wizhelp/dumpfriendlyobjects wizhelp/forget_spell wizhelp/free wizhelp/goto wizhelp/hide wizhelp/insert_into wizhelp/invisible wizhelp/kick wizhelp/learn_special_prayer wizhelp/learn_spell wizhelp/mon_aggr wizhelp/nodm wizhelp/nowiz wizhelp/overlay_save wizhelp/patch wizhelp/perl-reload wizhelp/plugin wizhelp/pluglist wizhelp/plugout wizhelp/possess wizhelp/printlos wizhelp/remove wizhelp/reset wizhelp/server_speed wizhelp/set_god wizhelp/shutdown wizhelp/spellreset wizhelp/ssdumptable wizhelp/stats wizhelp/style_info wizhelp/summon wizhelp/teleport wizhelp/toggle_shout wizhelp/wizcast wizhelp/wizpass |
29 |
HELPFILES = help/accept-invitation help/afk help/apply help/applymode help/body help/bowmode help/brace help/cast help/chat help/drop help/dropall help/examine help/follow help/get help/golem help/gsay help/help help/hiscore help/ignore help/inventory help/invite help/invoke help/keys help/killpets help/listen help/logs help/mapinfo help/maps help/mark help/melee help/mode help/motd help/mouse help/move help/output-count help/output-sync help/party help/peaceful help/petmode help/pickup help/prepare help/quests help/quit help/range help/ready_skill help/rename help/reply help/resistances help/rotateshoottype help/save help/say help/search-items help/seen help/shout help/showpets help/skills help/sort_inventory help/sound help/statistics help/suicide help/take help/tell help/throw help/time help/title help/traps help/unignore help/usekeys help/use_skill help/version help/weather help/whereabouts help/whereami help/who help/wimpy |
30 |
|
31 |
dist_noinst_SCRIPTS = genhelp.pl |
32 |
dist_pkgdata_DATA = help.pod wizhelp.pod $(HELPFILES) $(WIZHELPFILES) |
33 |
|
34 |
EXTRA_DIST = stamp-help stamp-wizhelp |
35 |
|
36 |
helpdir=$(pkgdatadir)/help |
37 |
wizhelpdir=$(pkgdatadir)/wizhelp |
38 |
|
39 |
MAINTAINERCLEANFILES = stamp-help stamp-wizhelp Makefile.in $(dist_pkgdata_DATA) |
40 |
|
41 |
PERL = @PERL@ |
42 |
|
43 |
stamp-help: |
44 |
touch stamp-help |
45 |
|
46 |
stamp-wizhelp: |
47 |
touch stamp-wizhelp |
48 |
|
49 |
help: |
50 |
mkdir help |
51 |
$(PERL) -I$(srcdir) genhelp.pl $(srcdir)/command_help.pod help |
52 |
|
53 |
wizhelp: |
54 |
mkdir wizhelp |
55 |
$(PERL) -I$(srcdir) genhelp.pl $(srcdir)/dmcommand_help.pod wizhelp |
56 |
|
57 |
help.pod: stamp-help |
58 |
cp command_help.pod help.pod |
59 |
make help |
60 |
|
61 |
wizhelp.pod: stamp-wizhelp |
62 |
cp dmcommand_help.pod wizhelp.pod |
63 |
make wizhelp |