ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/pod/Makefile.am
(Generate patch)

Comparing deliantra/server/pod/Makefile.am (file contents):
Revision 1.10 by root, Wed Nov 8 00:54:06 2006 UTC vs.
Revision 1.19 by root, Tue Mar 6 19:02:36 2007 UTC

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
26pkgstatedir = @pkgstatedir@ 21pkgstatedir = @pkgstatedir@
27 22
28MKDIR=mkdir 23MKDIR=mkdir
29 24
30WIZHELPFILES = helpfiles/abil helpfiles/addexp helpfiles/arrest helpfiles/banish helpfiles/create helpfiles/debug helpfiles/dump helpfiles/dumpallarchtypes helpfiles/dumpallmaps helpfiles/dumpallobjects helpfiles/dumpbelow helpfiles/dumpfriendlyobjects helpfiles/forget_spell helpfiles/free helpfiles/goto helpfiles/hide helpfiles/insert_into helpfiles/invisible helpfiles/kick helpfiles/learn_special_prayer helpfiles/learn_spell helpfiles/mon_aggr helpfiles/nodm helpfiles/nowiz helpfiles/overlay_save helpfiles/patch helpfiles/perl-reload helpfiles/plugin helpfiles/pluglist helpfiles/plugout helpfiles/possess helpfiles/printlos helpfiles/remove helpfiles/reset helpfiles/server_speed helpfiles/set_god helpfiles/shutdown helpfiles/spellreset helpfiles/ssdumptable helpfiles/stats helpfiles/style_info helpfiles/summon helpfiles/teleport helpfiles/toggle_shout helpfiles/wizcast helpfiles/wizlook helpfiles/wizpass 25WIZHELPFILES = helpfiles/abil helpfiles/addexp helpfiles/arrest helpfiles/banish helpfiles/create helpfiles/debug helpfiles/dump helpfiles/dumpallarchtypes helpfiles/dumpallmaps helpfiles/dumpallobjects helpfiles/dumpbelow helpfiles/dumpfriendlyobjects helpfiles/forget_spell helpfiles/free helpfiles/goto helpfiles/hide helpfiles/insert_into helpfiles/invisible helpfiles/kick helpfiles/learn_special_prayer helpfiles/learn_spell helpfiles/mon_aggr helpfiles/nodm helpfiles/nowiz helpfiles/overlay_save helpfiles/patch helpfiles/perl-reload helpfiles/plugin helpfiles/pluglist helpfiles/plugout helpfiles/possess helpfiles/printlos helpfiles/remove helpfiles/reset helpfiles/server_speed helpfiles/set_god helpfiles/shutdown helpfiles/spellreset helpfiles/ssdumptable helpfiles/stats helpfiles/style_info helpfiles/summon helpfiles/teleport helpfiles/toggle_shout helpfiles/wizcast helpfiles/wizlook helpfiles/wizpass
31HELPFILES = helpfiles/accept-invitation helpfiles/afk helpfiles/apply helpfiles/applymode helpfiles/body helpfiles/bowmode helpfiles/brace helpfiles/cast helpfiles/chat helpfiles/drop helpfiles/dropall helpfiles/examine helpfiles/follow helpfiles/get helpfiles/golem helpfiles/gsay helpfiles/help helpfiles/hiscore helpfiles/ignore helpfiles/inventory helpfiles/invite helpfiles/invoke helpfiles/keys helpfiles/killpets helpfiles/listen helpfiles/logs helpfiles/mapinfo helpfiles/maps helpfiles/mark helpfiles/melee helpfiles/mode helpfiles/motd helpfiles/mouse helpfiles/move helpfiles/output-count helpfiles/output-sync helpfiles/party helpfiles/peaceful helpfiles/petmode helpfiles/pickup helpfiles/prepare helpfiles/quests helpfiles/quit helpfiles/range helpfiles/ready_skill helpfiles/rename helpfiles/reply helpfiles/resistances helpfiles/rotateshoottype helpfiles/save helpfiles/say helpfiles/search-items helpfiles/seen helpfiles/shout helpfiles/showpets helpfiles/skills helpfiles/sort_inventory helpfiles/sound helpfiles/statistics helpfiles/suicide helpfiles/take helpfiles/tell helpfiles/throw helpfiles/time helpfiles/title helpfiles/traps helpfiles/unignore helpfiles/usekeys helpfiles/use_skill helpfiles/version helpfiles/weather helpfiles/whereabouts helpfiles/whereami helpfiles/who helpfiles/wimpy 26HELPFILES = helpfiles/accept-invitation helpfiles/afk helpfiles/apply helpfiles/applymode helpfiles/body helpfiles/bowmode helpfiles/brace helpfiles/cast helpfiles/chat helpfiles/drop helpfiles/dropall helpfiles/examine helpfiles/follow helpfiles/get helpfiles/golem helpfiles/gsay helpfiles/help helpfiles/hiscore helpfiles/ignore helpfiles/inventory helpfiles/invite helpfiles/invoke helpfiles/keys helpfiles/killpets helpfiles/listen helpfiles/logs helpfiles/mapinfo helpfiles/maps helpfiles/mark helpfiles/melee helpfiles/mode helpfiles/motd helpfiles/mouse helpfiles/move helpfiles/output-count helpfiles/output-sync helpfiles/party helpfiles/peaceful helpfiles/petmode helpfiles/pickup helpfiles/prepare helpfiles/quests helpfiles/quit helpfiles/range helpfiles/ready_skill helpfiles/rename helpfiles/reply helpfiles/resistances helpfiles/rotateshoottype helpfiles/save helpfiles/say helpfiles/search-items helpfiles/seen helpfiles/shout helpfiles/showpets helpfiles/skills helpfiles/sort_inventory helpfiles/sound helpfiles/statistics helpfiles/suicide helpfiles/take helpfiles/tell helpfiles/throw helpfiles/time helpfiles/title helpfiles/traps helpfiles/unignore helpfiles/usekeys helpfiles/use_skill helpfiles/version helpfiles/weather helpfiles/whereabouts helpfiles/whereami helpfiles/who helpfiles/wimpy
32 27
28helpdir=$(pkgdatadir)/help
29dist_help_DATA = $(HELPFILES)
30
31wizhelpdir=$(pkgdatadir)/wizhelp
32dist_wizhelp_DATA = $(WIZHELPFILES)
33
34poddir=$(pkgdatadir)/pod
35dist_pod_DATA = command_help.pod dmcommand_help.pod emote_help.pod skill_help.pod books.pod
36
33dist_noinst_SCRIPTS = genhelp.pl 37dist_noinst_SCRIPTS = genhelp.pl
34dist_noinst_DATA = $(HELPFILES) $(WIZHELPFILES) 38dist_noinst_DATA = events.pod
35 39
36helpdir=$(pkgdatadir)/help 40CLEANFILES = $(HELPFILES) $(WIZHELPFILES)
37wizhelpdir=$(pkgdatadir)/wizhelp
38
39CLEANFILES = $(dist_noinst_DATA)
40 41
41PERL = @PERL@ 42PERL = @PERL@
42 43
43help: command_help.pod genhelp.pl 44help: command_help.pod genhelp.pl
44 $(MKDIR) -p helpfiles 45 $(MKDIR) -p helpfiles
45 $(PERL) genhelp.pl $(srcdir)/command_help.pod helpfiles 46 $(PERL) $(srcdir)/genhelp.pl $(srcdir)/command_help.pod helpfiles
46 47
47wizhelp: dmcommand_help.pod genhelp.pl 48wizhelp: dmcommand_help.pod genhelp.pl
48 $(MKDIR) -p helpfiles 49 $(MKDIR) -p helpfiles
49 $(PERL) genhelp.pl $(srcdir)/dmcommand_help.pod helpfiles 50 $(PERL) $(srcdir)/genhelp.pl $(srcdir)/dmcommand_help.pod helpfiles
50 51
51all: $(WIZHELPFILES) $(HELPFILES) 52all: $(WIZHELPFILES) $(HELPFILES)
52 53
53$(WIZHELPFILES): wizhelp 54$(WIZHELPFILES): wizhelp
54 55
55$(HELPFILES): help 56$(HELPFILES): help
56 57
57install-help:
58 if [ ! -d $(DESTDIR)$(helpdir) ]; then mkdir $(DESTDIR)$(helpdir); fi
59 for i in $(HELPFILES); do \
60 if [ ! -f $(DESTDIR)$(helpdir)/$Si ]; then \
61 echo "Installing $$i"; \
62 $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(helpdir); \
63 fi \
64 done
65
66install-wizhelp:
67 if [ ! -d $(DESTDIR)$(wizhelpdir) ]; then mkdir $(DESTDIR)$(wizhelpdir); fi
68 for i in $(WIZHELPFILES); do \
69 if [ ! -f $(DESTDIR)$(wizhelpdir)/$Si ]; then \
70 echo "Installing $$i"; \
71 $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(wizhelpdir); \
72 fi \
73 done
74
75install: all install-all
76
77install-all: install-wizhelp install-help

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines