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.3 by pippijn, Fri Sep 8 02:18:39 2006 UTC vs.
Revision 1.16 by root, Mon Mar 5 19:54:49 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@
27pkgconfdir = @pkgconfdir@ 22
23MKDIR=mkdir
24
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
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
27
28INSTALL_POD = command_help.pod dmcommand_help.pod emote_help.pod skill_help.pod books.pod
29dist_pkgdata_DATA = $(INSTALL_POD)
28 30
29dist_noinst_SCRIPTS = genhelp.pl 31dist_noinst_SCRIPTS = genhelp.pl
30dist_pkgdata_DATA = help.pod 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 32dist_noinst_DATA = $(HELPFILES) $(WIZHELPFILES) events.pod
31 33
32EXTRA_DIST = .genhelp-stamp 34poddir=$(pkgdatadir)/pod
33
34helpdir=$(pkgdatadir)/help 35helpdir=$(pkgdatadir)/help
35
36wizhelpdir=$(pkgdatadir)/wizhelp 36wizhelpdir=$(pkgdatadir)/wizhelp
37 37
38MAINTAINERCLEANFILES = .genhelp-stamp Makefile.in $(dist_pkgdata_DATA) 38CLEANFILES = $(dist_noinst_DATA)
39 39
40PERL = @PERL@ 40PERL = @PERL@
41 41
42.genhelp-stamp: 42help: command_help.pod genhelp.pl
43 touch .genhelp-stamp 43 $(MKDIR) -p helpfiles
44 $(PERL) genhelp.pl $(srcdir)/command_help.pod helpfiles
44 45
45genhelp: 46wizhelp: dmcommand_help.pod genhelp.pl
47 $(MKDIR) -p helpfiles
46 $(PERL) -I$(srcdir) genhelp.pl $(srcdir)/command_help.pod 48 $(PERL) genhelp.pl $(srcdir)/dmcommand_help.pod helpfiles
47 49
48help.pod: .genhelp-stamp 50all: $(WIZHELPFILES) $(HELPFILES)
49 cp command_help.pod help.pod 51
50 make genhelp 52$(WIZHELPFILES): wizhelp
53
54$(HELPFILES): help
55
56install-help:
57 if [ ! -d $(DESTDIR)$(helpdir) ]; then mkdir $(DESTDIR)$(helpdir); fi
58 for i in $(HELPFILES); do \
59 if [ ! -f $(DESTDIR)$(helpdir)/$Si ]; then \
60 $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(helpdir); \
61 fi \
62 done
63
64install-wizhelp:
65 if [ ! -d $(DESTDIR)$(wizhelpdir) ]; then mkdir $(DESTDIR)$(wizhelpdir); fi
66 for i in $(WIZHELPFILES); do \
67 if [ ! -f $(DESTDIR)$(wizhelpdir)/$Si ]; then \
68 $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(wizhelpdir); \
69 fi \
70 done
71
72install: all install-all
73
74install-all: install-wizhelp install-help
75 $(mkinstalldirs) -m 755 $(DESTDIR)$(poddir)
76 for i in $(INSTALL_POD); do \
77 $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(poddir)/; \
78 done

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines