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.14 by root, Fri Feb 2 01:15:40 2007 UTC vs.
Revision 1.33 by root, Wed Nov 16 23:42:01 2016 UTC

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,2013,2014,2015,2016 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@schmorp.de
25 24
26pkgstatedir = @pkgstatedir@ 25pkgstatedir = @pkgstatedir@
27 26
28MKDIR=mkdir 27poddir=$(pkgdatadir)/pod
28dist_pod_DATA = command_help.pod dmcommand_help.pod emote_help.pod books.pod generic_help.pod
29 29
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 30dist_noinst_DATA = events.pod
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
32 31
33INSTALL_POD = command_help.pod dmcommand_help.pod skill_help.pod books.pod
34dist_pkgdata_DATA = $(INSTALL_POD)
35 32
36dist_noinst_SCRIPTS = genhelp.pl
37dist_noinst_DATA = $(HELPFILES) $(WIZHELPFILES)
38
39poddir=$(pkgdatadir)/pod
40helpdir=$(pkgdatadir)/help
41wizhelpdir=$(pkgdatadir)/wizhelp
42
43CLEANFILES = $(dist_noinst_DATA)
44
45PERL = @PERL@
46
47help: command_help.pod genhelp.pl
48 $(MKDIR) -p helpfiles
49 $(PERL) genhelp.pl $(srcdir)/command_help.pod helpfiles
50
51wizhelp: dmcommand_help.pod genhelp.pl
52 $(MKDIR) -p helpfiles
53 $(PERL) genhelp.pl $(srcdir)/dmcommand_help.pod helpfiles
54
55all: $(WIZHELPFILES) $(HELPFILES)
56
57$(WIZHELPFILES): wizhelp
58
59$(HELPFILES): help
60
61install-help:
62 if [ ! -d $(DESTDIR)$(helpdir) ]; then mkdir $(DESTDIR)$(helpdir); fi
63 for i in $(HELPFILES); do \
64 if [ ! -f $(DESTDIR)$(helpdir)/$Si ]; then \
65 $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(helpdir); \
66 fi \
67 done
68
69install-wizhelp:
70 if [ ! -d $(DESTDIR)$(wizhelpdir) ]; then mkdir $(DESTDIR)$(wizhelpdir); fi
71 for i in $(WIZHELPFILES); do \
72 if [ ! -f $(DESTDIR)$(wizhelpdir)/$Si ]; then \
73 $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(wizhelpdir); \
74 fi \
75 done
76
77install: all install-all
78
79install-all: install-wizhelp install-help
80 $(mkinstalldirs) -m 755 $(DESTDIR)$(poddir)
81 for i in $(INSTALL_POD); do \
82 $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(poddir)/; \
83 done

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines