--- deliantra/server/pod/Makefile.am 2006/09/08 00:29:44 1.1 +++ deliantra/server/pod/Makefile.am 2006/09/08 02:18:39 1.3 @@ -23,26 +23,28 @@ # # The authors can be reached via e-mail to crossfire-devel@real-time.com -helpdir = $(pkgdatadir)/help -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 +pkgstatedir = @pkgstatedir@ +pkgconfdir = @pkgconfdir@ + +dist_noinst_SCRIPTS = genhelp.pl +dist_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 + +EXTRA_DIST = .genhelp-stamp + +helpdir=$(pkgdatadir)/help + +wizhelpdir=$(pkgdatadir)/wizhelp + +MAINTAINERCLEANFILES = .genhelp-stamp Makefile.in $(dist_pkgdata_DATA) PERL = @PERL@ -help: - $(PERL) helpgen.pl command_help.pod +.genhelp-stamp: + touch .genhelp-stamp + +genhelp: + $(PERL) -I$(srcdir) genhelp.pl $(srcdir)/command_help.pod + +help.pod: .genhelp-stamp + cp command_help.pod help.pod + make genhelp