1 | # |
1 | # Copyright (C) 2007 Marc Alexander Lehmann |
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 |
2 | # Copyright (C) 2001 Mark Wedel & Crossfire Development Team |
8 | # Copyright (C) 1992 Frank Tore Johansen |
3 | # Copyright (C) 1992 Frank Tore Johansen |
9 | # |
4 | # |
10 | # This program is free software; you can redistribute it and/or modify |
5 | # 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 |
6 | # it under the terms of the GNU General Public License as published by |
… | |
… | |
19 | # |
14 | # |
20 | # You should have received a copy of the GNU General Public License |
15 | # You should have received a copy of the GNU General Public License |
21 | # along with this program; if not, write to the Free Software |
16 | # along with this program; if not, write to the Free Software |
22 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
23 | # |
18 | # |
24 | # The authors can be reached via e-mail to crossfire-devel@real-time.com |
19 | # The authors can be reached via e-mail to crossfire@schmorp.de |
25 | |
20 | |
26 | pkgstatedir = @pkgstatedir@ |
21 | pkgstatedir = @pkgstatedir@ |
27 | pkgconfdir = @pkgconfdir@ |
|
|
28 | |
22 | |
29 | dist_noinst_SCRIPTS = genhelp.pl |
23 | poddir=$(pkgdatadir)/pod |
30 | dist_pkgdata_DATA = command |
24 | dist_pod_DATA = command_help.pod dmcommand_help.pod emote_help.pod skill_help.pod books.pod generic_help.pod |
31 | |
25 | |
32 | EXTRA_DIST = .collect-stamp |
26 | dist_noinst_DATA = events.pod |
33 | |
27 | |
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 | |
28 | |
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 |
|
|