1 | # |
1 | # |
2 | # Makefile for crossfire 0.95.0 and beyond |
2 | # This file is part of Deliantra, the Roguelike Realtime MMORPG. |
3 | # |
3 | # |
4 | # This file will eventually be replaced by a configure script. But for |
4 | # Copyright (©) 2007,2008,2009,2010,2011,2012 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | # now, this simple makefile should do the job. |
5 | # Copyright (©) 2001 Mark Wedel & Crossfire Development Team |
|
|
6 | # Copyright (©) 1992 Frank Tore Johansen |
6 | # |
7 | # |
7 | # Copyright (C) 2001 Mark Wedel & Crossfire Development Team |
8 | # Deliantra is free software: you can redistribute it and/or modify it under |
8 | # Copyright (C) 1992 Frank Tore Johansen |
9 | # the terms of the Affero GNU General Public License as published by the |
|
|
10 | # Free Software Foundation, either version 3 of the License, or (at your |
|
|
11 | # option) any later version. |
9 | # |
12 | # |
10 | # This program is free software; you can redistribute it and/or modify |
13 | # This program is distributed in the hope that it will be useful, |
11 | # it under the terms of the GNU General Public License as published by |
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | # the Free Software Foundation; either version 2 of the License, or |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | # (at your option) any later version. |
16 | # GNU General Public License for more details. |
14 | # |
17 | # |
15 | # This program is distributed in the hope that it will be useful, |
18 | # You should have received a copy of the Affero GNU General Public License |
16 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
19 | # and the GNU General Public License along with this program. If not, see |
17 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
20 | # <http://www.gnu.org/licenses/>. |
18 | # GNU General Public License for more details. |
|
|
19 | # |
21 | # |
20 | # You should have received a copy of the GNU General Public License |
22 | # The authors can be reached via e-mail to <support@deliantra.net> |
21 | # along with this program; if not, write to the Free Software |
|
|
22 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|
|
23 | # |
23 | # |
24 | # The authors can be reached via e-mail to crossfire-devel@real-time.com |
|
|
25 | |
24 | |
26 | pkgstatedir = @pkgstatedir@ |
25 | pkgstatedir = @pkgstatedir@ |
27 | |
26 | |
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 |
27 | poddir=$(pkgdatadir)/pod |
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 |
28 | dist_pod_DATA = command_help.pod dmcommand_help.pod emote_help.pod books.pod generic_help.pod |
30 | |
29 | |
31 | dist_noinst_SCRIPTS = genhelp.pl |
30 | dist_noinst_DATA = events.pod |
32 | dist_pkgdata_DATA = help.pod wizhelp.pod $(HELPFILES) $(WIZHELPFILES) |
|
|
33 | |
31 | |
34 | EXTRA_DIST = stamp-help stamp-wizhelp |
|
|
35 | |
32 | |
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 |
|
|