1 | # |
1 | # |
2 | # Makefile for crossfire 0.95.0 and beyond |
2 | # This file is part of Deliantra, the Roguelike Realtime MMORPG. |
|
|
3 | # |
|
|
4 | # Copyright (©) 2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
|
|
5 | # Copyright (©) 2001 Mark Wedel & Crossfire Development Team |
|
|
6 | # Copyright (©) 1992 Frank Tore Johansen |
|
|
7 | # |
|
|
8 | # Deliantra is free software: you can redistribute it and/or modify it under |
|
|
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. |
|
|
12 | # |
|
|
13 | # This program is distributed in the hope that it will be useful, |
|
|
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
16 | # GNU General Public License for more details. |
|
|
17 | # |
|
|
18 | # You should have received a copy of the Affero GNU General Public License |
|
|
19 | # and the GNU General Public License along with this program. If not, see |
|
|
20 | # <http://www.gnu.org/licenses/>. |
|
|
21 | # |
|
|
22 | # The authors can be reached via e-mail to <support@deliantra.net> |
3 | # |
23 | # |
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 | |
24 | |
26 | pkgstatedir = @pkgstatedir@ |
25 | pkgstatedir = @pkgstatedir@ |
27 | pkgconfdir = @pkgconfdir@ |
|
|
28 | |
26 | |
29 | dist_noinst_SCRIPTS = genhelp.pl |
27 | poddir=$(pkgdatadir)/pod |
30 | dist_pkgdata_DATA = command |
28 | dist_pod_DATA = command_help.pod dmcommand_help.pod emote_help.pod skill_help.pod books.pod generic_help.pod |
31 | |
29 | |
32 | EXTRA_DIST = .collect-stamp |
30 | dist_noinst_DATA = events.pod |
33 | |
31 | |
34 | helpdir=$(pkgdatadir)/help |
|
|
35 | dist_help_DATA = 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 |
|
|
36 | |
32 | |
37 | wizhelpdir=$(pkgdatadir)/wizhelp |
|
|
38 | |
|
|
39 | MAINTAINERCLEANFILES = .collect-stamp Makefile.in $(dist_help_DATA) |
|
|
40 | |
|
|
41 | PERL = @PERL@ |
|
|
42 | |
|
|
43 | crossfire.0: bmaps.paths |
|
|
44 | $(PERL) $(srcdir)/adm/collect_images.pl -png |
|
|
45 | |
|
|
46 | .collect-stamp: |
|
|
47 | touch .collect-stamp |
|
|
48 | |
|
|
49 | collect: |
|
|
50 | $(PERL) -I$(srcdir) genhelp.pl $(srcdir)/command_help.pod |
|
|
51 | |
|
|
52 | archonly: |
|
|
53 | $(PERL) -I$(srcdir) collect.pl $(srcdir)/arch ARCHONLY |
|
|
54 | |
|
|
55 | command: .collect-stamp |
|
|
56 | make collect |
|
|