--- deliantra/server/pod/Makefile.am 2006/12/15 20:08:45 1.13 +++ deliantra/server/pod/Makefile.am 2007/03/06 03:06:00 1.18 @@ -1,9 +1,4 @@ -# -# Makefile for crossfire 0.95.0 and beyond -# -# This file will eventually be replaced by a configure script. But for -# now, this simple makefile should do the job. -# +# Copyright (C) 2007 Marc Alexander Lehmann # Copyright (C) 2001 Mark Wedel & Crossfire Development Team # Copyright (C) 1992 Frank Tore Johansen # @@ -30,23 +25,27 @@ WIZHELPFILES = 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 HELPFILES = 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 +INSTALL_POD = command_help.pod dmcommand_help.pod emote_help.pod skill_help.pod books.pod +dist_pkgdata_DATA = $(INSTALL_POD) + dist_noinst_SCRIPTS = genhelp.pl -dist_noinst_DATA = $(HELPFILES) $(WIZHELPFILES) +dist_noinst_DATA = $(HELPFILES) $(WIZHELPFILES) events.pod +poddir=$(pkgdatadir)/pod helpdir=$(pkgdatadir)/help wizhelpdir=$(pkgdatadir)/wizhelp -CLEANFILES = $(dist_noinst_DATA) +CLEANFILES = $(HELPFILES) $(WIZHELPFILES) PERL = @PERL@ help: command_help.pod genhelp.pl $(MKDIR) -p helpfiles - $(PERL) genhelp.pl $(srcdir)/command_help.pod helpfiles + $(PERL) $(srcdir)/genhelp.pl $(srcdir)/command_help.pod helpfiles wizhelp: dmcommand_help.pod genhelp.pl $(MKDIR) -p helpfiles - $(PERL) genhelp.pl $(srcdir)/dmcommand_help.pod helpfiles + $(PERL) $(srcdir)/genhelp.pl $(srcdir)/dmcommand_help.pod helpfiles all: $(WIZHELPFILES) $(HELPFILES) @@ -73,3 +72,7 @@ install: all install-all install-all: install-wizhelp install-help + $(mkinstalldirs) -m 755 $(DESTDIR)$(poddir) + for i in $(INSTALL_POD); do \ + $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(poddir)/; \ + done