# Makefile.in generated by automake 1.14 from Makefile.am.
# @configure_input@

# Copyright (C) 1994-2013 Free Software Foundation, Inc.

# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

@SET_MAKE@
VPATH = @srcdir@
am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
am__make_running_with_option = \
  case $${target_option-} in \
      ?) ;; \
      *) echo "am__make_running_with_option: internal error: invalid" \
              "target option '$${target_option-}' specified" >&2; \
         exit 1;; \
  esac; \
  has_opt=no; \
  sane_makeflags=$$MAKEFLAGS; \
  if $(am__is_gnu_make); then \
    sane_makeflags=$$MFLAGS; \
  else \
    case $$MAKEFLAGS in \
      *\\[\ \	]*) \
        bs=\\; \
        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
    esac; \
  fi; \
  skip_next=no; \
  strip_trailopt () \
  { \
    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  }; \
  for flg in $$sane_makeflags; do \
    test $$skip_next = yes && { skip_next=no; continue; }; \
    case $$flg in \
      *=*|--*) continue;; \
        -*I) strip_trailopt 'I'; skip_next=yes;; \
      -*I?*) strip_trailopt 'I';; \
        -*O) strip_trailopt 'O'; skip_next=yes;; \
      -*O?*) strip_trailopt 'O';; \
        -*l) strip_trailopt 'l'; skip_next=yes;; \
      -*l?*) strip_trailopt 'l';; \
      -[dEDm]) skip_next=yes;; \
      -[JT]) skip_next=yes;; \
    esac; \
    case $$flg in \
      *$$target_option*) has_opt=yes; break;; \
    esac; \
  done; \
  test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
subdir = doc/playbook-html
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/macros/cf_python.m4 \
	$(top_srcdir)/macros/cf_visibility.m4 \
	$(top_srcdir)/macros/cf_xslt.m4 $(top_srcdir)/macros/check.m4 \
	$(top_srcdir)/macros/libcurl.m4 \
	$(top_srcdir)/macros/libtool.m4 \
	$(top_srcdir)/macros/ltoptions.m4 \
	$(top_srcdir)/macros/ltsugar.m4 \
	$(top_srcdir)/macros/ltversion.m4 \
	$(top_srcdir)/macros/lt~obsolete.m4 \
	$(top_srcdir)/macros/pkg.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/include/autoconf.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo "  GEN     " $@;
am__v_GEN_1 = 
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 = 
SOURCES =
DIST_SOURCES =
am__can_run_installinfo = \
  case $$AM_UPDATE_INFO_DIR in \
    n|no|NO) false;; \
    *) (install-info --version) >/dev/null 2>&1;; \
  esac
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AR = @AR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BASENAME = @BASENAME@
BZIP = @BZIP@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CHECK_CFLAGS = @CHECK_CFLAGS@
CHECK_LIBS = @CHECK_LIBS@
COMPRESS = @COMPRESS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
GD_CFLAGS = @GD_CFLAGS@
GD_LIBS = @GD_LIBS@
GREP = @GREP@
GZIP = @GZIP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LATEX = @LATEX@
LD = @LD@
LDFLAGS = @LDFLAGS@
LEX = @LEX@
LEXLIB = @LEXLIB@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LIBCURL = @LIBCURL@
LIBCURL_CPPFLAGS = @LIBCURL_CPPFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PERL = @PERL@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
PLUGIN_PYTHON = @PLUGIN_PYTHON@
PYTHON_LIB = @PYTHON_LIB@
PY_INCLUDES = @PY_INCLUDES@
PY_LIBS = @PY_LIBS@
RANLIB = @RANLIB@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
SVNVERSION = @SVNVERSION@
TAR = @TAR@
VERSION = @VERSION@
XSLTENGINE = @XSLTENGINE@
_libcurl_config = @_libcurl_config@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
check_xslt_forcedprogfound = @check_xslt_forcedprogfound@
check_xslt_sablotronfound = @check_xslt_sablotronfound@
check_xslt_xsltprocfound = @check_xslt_xsltprocfound@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
pkgconfdir = @pkgconfdir@
pkgstatedir = @pkgstatedir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
FIG = fig/earrow.gif fig/nearrow.gif fig/sarrow.gif fig/swarrow.gif\
	fig/narrow.gif fig/nwarrow.gif fig/searrow.gif fig/warrow.gif\
	fig/screen_dia.gif fig/book.gif fig/stairdown.gif fig/stairup.gif

EXTRA_DIST = handbook.shtml chap1.html chap2.shtml chap3.shtml\
	chap4.shtml chap5.shtml chap6.shtml chap7.html appA.html appB.html\
 	appC.shtml bonus-extract char-extract spellpath-extract\
	skills2-extract empty.pbm statskmod-extract treas1-extract\
	treas2-extract skills-extract items-extract generic-extract\
	sorter levels-extract gods-extract $(FIG)

#
# This are automatically generated files
#
HTML = gods.html appC.html stats.gif potion.html flesh.html food.html rings.html \
	books.html money.html shopmat.html shop.html chap6.html lockpicks.html \
	statskmod.html version.html skill_stat.html chap5.html runeshock.html \
	runemark.html runefire.html runefrost.html runegen.html runedeath.html \
	runeblast.html cauldron.html altar.html spellpath.html chap4.html \
	corpse.html gravestone.html wands.html talisman.html sign.html\
	scrolls.html savebed.html rods.html potions.html pit.html levels.html \
	keys.html horns.html holysymbol.html handbutt.html guild.html \
	gatedoor.html fr_wall.html foodone.html dir_spin.html br_wall.html \
	bows.html chap3.html skills.html equip.html stats.html char.html \
	bonus.html chap2.html handbook.html

HANDBOOK = handbook.html chap1.html chap2.html chap3.html chap4.html chap5.html chap6.html appC.html
CLEANFILES = items .bmaps in_monput in_items in_spells in_stats in_equip \
	*x*.ppm tmp.ppm work.ppm in_char items *.png $(HTML)

CROSSBIN = ../../server/crossfire-server
INCDIR = $(top_srcdir)/include
DTOP = $(top_srcdir)/$(PACKAGE)-doc
all: all-am

.SUFFIXES:
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
	        && { if test -f $@; then exit 0; else break; fi; }; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/playbook-html/Makefile'; \
	$(am__cd) $(top_srcdir) && \
	  $(AUTOMAKE) --gnu doc/playbook-html/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
	esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure:  $(am__configure_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs
tags TAGS:

ctags CTAGS:

cscope cscopelist:


distdir: $(DISTFILES)
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	list='$(DISTFILES)'; \
	  dist_files=`for file in $$list; do echo $$file; done | \
	  sed -e "s|^$$srcdirstrip/||;t" \
	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
	case $$dist_files in \
	  */*) $(MKDIR_P) `echo "$$dist_files" | \
			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
			   sort -u` ;; \
	esac; \
	for file in $$dist_files; do \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  if test -d $$d/$$file; then \
	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
	    if test -d "$(distdir)/$$file"; then \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
	  else \
	    test -f "$(distdir)/$$file" \
	    || cp -p $$d/$$file "$(distdir)/$$file" \
	    || exit 1; \
	  fi; \
	done
check-am: all-am
check: check-am
all-am: Makefile
installdirs:
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
	if test -z '$(STRIP)'; then \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	      install; \
	else \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
	fi
mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
clean: clean-am

clean-am: clean-generic clean-libtool mostlyclean-am

distclean: distclean-am
	-rm -f Makefile
distclean-am: clean-am distclean-generic

dvi: dvi-am

dvi-am:

html: html-am

html-am:

info: info-am

info-am:

install-data-am:

install-dvi: install-dvi-am

install-dvi-am:

install-exec-am:

install-html: install-html-am

install-html-am:

install-info: install-info-am

install-info-am:

install-man:

install-pdf: install-pdf-am

install-pdf-am:

install-ps: install-ps-am

install-ps-am:

installcheck-am:

maintainer-clean: maintainer-clean-am
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-generic mostlyclean-libtool

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am:

.MAKE: install-am install-strip

.PHONY: all all-am check check-am clean clean-generic clean-libtool \
	cscopelist-am ctags-am distclean distclean-generic \
	distclean-libtool distdir dvi dvi-am html html-am info info-am \
	install install-am install-data install-data-am install-dvi \
	install-dvi-am install-exec install-exec-am install-html \
	install-html-am install-info install-info-am install-man \
	install-pdf install-pdf-am install-ps install-ps-am \
	install-strip installcheck installcheck-am installdirs \
	maintainer-clean maintainer-clean-generic mostlyclean \
	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
	tags-am uninstall uninstall-am


handbook: $(HANDBOOK)

dump_switches:
	@$(RM) dump_switches
	@$(CROSSBIN) -m >/dev/null 2>&1 && touch dump_switches ||	(echo "You need to define DUMP_SWITCHES in include/config.h and";	echo "recompile before you can create the spoilers.")

	@$(MAKE) $(MFLAGS) check_ok

check_ok: dump_switches
	@$(RM) dump_switches

.bmaps: $(pkgdatadir)/archetypes
	$(RM) *.gif
	touch .bmaps

items: .bmaps in_items ../scripts/makeps.pl items.gif
	$(PERL) ../scripts/makeps.pl output=png libdir=$(top_srcdir)/lib archdir=$(top_srcdir)/lib/ size=0.4 input=in_items  inarch=$(pkgdatadir)/archetypes > items

in_items: items-extract $(pkgdatadir)/archetypes $(top_srcdir)/common/living.c
	$(AWK) -v living_c=$(top_srcdir)/common/living.c 		-f items-extract $(pkgdatadir)/archetypes > in_items

handbook.html: version.html handbook.shtml
	$(PERL) $(srcdir)/../include_html.pl handbook.shtml handbook.html

chap2.html: bonus.html char.html equip.html skills.html chap2.shtml
	$(PERL) $(srcdir)/../include_html.pl chap2.shtml chap2.html

bonus.html:
	$(AWK) -v living_c=../../common/living.c 	-f bonus-extract > bonus.html

in_char: char-extract $(pkgdatadir)/archetypes $(top_srcdir)/common/living.c
	$(AWK) -v living_c=$(top_srcdir)/common/living.c 		-f char-extract $(pkgdatadir)/archetypes > in_char

char.html: .bmaps in_char ../scripts/makeps.pl characters.gif
	$(PERL) ../scripts/makeps.pl output=png libdir=$(top_srcdir)/lib archdir=$(top_srcdir)/lib/ size=0.4 input=in_char inarch=$(pkgdatadir)/archetypes > char.html

in_stats: stats-extract $(pkgdatadir)/archetypes $(top_srcdir)/common/living.c
	$(AWK) -v living_c=$(top_srcdir)/common/living.c 		-f stats-extract $(pkgdatadir)/archetypes > in_stats

stats.html: .bmaps in_stats ../scripts/makeps.pl stats.gif
	$(PERL) ../scripts/makeps.pl output=png libdir=$(top_srcdir)/lib archdir=$(top_srcdir)/lib/ size=0.4 input=in_stats archdir=$(pkgdatadir)/archetypes > stats.html

equip.html: in_equip treas2-extract
	$(AWK) -v eqitems=in_equip -f treas2-extract 	../../lib/treasures > equip.html

in_equip: treas1-extract $(pkgdatadir)/archetypes $(top_srcdir)/common/living.c
	$(AWK) -v living_c=$(top_srcdir)/common/living.c 		-f treas1-extract $(pkgdatadir)/archetypes | sort -d > in_equip

skills.html: in_equip skills-extract
	$(AWK) -v eqitems=in_equip -f skills-extract 	../../lib/treasures > skills.html

chap3.html: chap3.shtml bows.html br_wall.html dir_spin.html foodone.html 	fr_wall.html gatedoor.html guild.html handbutt.html 	holysymbol.html horns.html keys.html pit.html potions.html 	rods.html savebed.html scrolls.html sign.html corpse.html 	talisman.html wands.html levels.html gravestone.html
	$(PERL) $(srcdir)/../include_html.pl chap3.shtml chap3.html

bows.html: items generic-extract
	egrep -e "^14 " items | $(AWK) -F'&'  -f generic-extract | sort > bows.html

br_wall.html: items sorter
	egrep -e "^45 " items | $(AWK) -F'&' -f generic-extract | sort > br_wall.html

dir_spin.html: items sorter
	egrep -e "^90 " items | $(AWK) -F'&' -f generic-extract | sort > dir_spin.html
	egrep -e "^112 " items | $(AWK) -F'&' -f generic-extract | sort >> dir_spin.html

foodone.html: items sorter
	egrep -e "^6 " items | $(AWK) -F'&'  -f generic-extract | grep "food" > foodone.html

fr_wall.html: items sorter
	egrep -e "^62 " items | $(AWK) -F'&' -f generic-extract | sort > fr_wall.html

gatedoor.html: items sorter
	egrep -e "^20 " items | $(AWK) -F'&' -f generic-extract | sort > gatedoor.html
	egrep -e "^23 " items | $(AWK) -F'&' -f generic-extract | sort >> gatedoor.html
	egrep -e "^91 " items | $(AWK) -F'&' -f generic-extract | sort >> gatedoor.html

guild.html: items generic-extract
	egrep -e "^66 " items | grep "guild" | $(AWK) -F'&'  	-f generic-extract | sort > guild.html

handbutt.html: items sorter
	egrep -e "^92 " items | $(AWK) -F'&' -f generic-extract | sort > handbutt.html
	egrep -e "^93 " items | $(AWK) -F'&' -f generic-extract | sort >> handbutt.html

holysymbol.html: items generic-extract
	egrep -e "^43 " items | grep "holy" | $(AWK) -F'&'  	-f generic-extract | sort > holysymbol.html

horns.html: items sorter
	egrep -e "^35 " items | $(AWK) -F'&'  -f generic-extract | sort > horns.html

keys.html: items sorter
	egrep -e "^21 " items | $(AWK) -F'&' -f generic-extract | sort > keys.html
	egrep -e "^24 " items | $(AWK) -F'&' -f generic-extract | sort >> keys.html

levels.html:
	$(AWK) -v living_c=../../common/living.c 	-f levels-extract > levels.html

pit.html: items sorter
	egrep -e "^95 " items | $(AWK) -F'&' -f generic-extract | sort > pit.html

potions.html: items sorter
	egrep -e "^5 " items | $(AWK) -F'&'  -f generic-extract | sort > potions.html

rods.html: items sorter
	egrep -e "^3 " items | $(AWK) -F'&'  -f generic-extract | sort > rods.html

savebed.html: items sorter
	egrep -e "^106 " items | $(AWK) -F'&'  -f generic-extract | sort > savebed.html

scrolls.html: items sorter
	egrep -e "^111 " items | $(AWK) -F'&'  -f generic-extract | sort > scrolls.html

sign.html: items sorter
	egrep -e "^98 " items | $(AWK) -F'&' -f generic-extract | sort > sign.html

talisman.html: items generic-extract
	egrep -e "^43 " items | grep "talisman" | $(AWK) -F'&'  	-f generic-extract | sort > talisman.html

wands.html: items sorter
	egrep -e "^109 " items | $(AWK) -F'&'  -f generic-extract | sort > wands.html

gravestone.html: items sorter
	egrep -e "^38 " items | $(AWK) -F'&' -f generic-extract | sort > gravestone.html

corpse.html: items sorter
	egrep -e "^157 " items | $(AWK) -F'&' -f generic-extract | sort > corpse.html

chap4.html: chap4.shtml spellpath.html altar.html cauldron.html 	runefire.html runefrost.html runeblast.html runeshock.html	 runedeath.html  runegen.html runemark.html
	$(PERL) $(srcdir)/../include_html.pl chap4.shtml chap4.html

spellpath.html:
	$(AWK) -v living_c=../../include/spellist.h 	-f spellpath-extract |sort > spellpath.html

altar.html: items sorter
	egrep -e "^18 " items | $(AWK) -F'&' -f generic-extract | sort > altar.html

cauldron.html: items sorter
	egrep -e "^122 " items | grep "cauldron" | 		$(AWK) -F'&' -f generic-extract | sort > cauldron.html

runeblast.html: items sorter
	egrep -e "^154 " items | grep "rune-blast" | 	$(AWK) -F'&' -f generic-extract | sort > runeblast.html

runedeath.html: items sorter
	egrep -e "^154 " items | grep "rune-death" | 	$(AWK) -F'&' -f generic-extract | sort > runedeath.html

runegen.html: items sorter
	egrep -e "^154 " items | grep "generic-rune" | 	$(AWK) -F'&' -f generic-extract | sort > runegen.html

runefrost.html: items sorter
	egrep -e "^154 " items | grep "rune-frost." | 	$(AWK) -F'&' -f generic-extract | sort > runefrost.html

runefire.html: items sorter
	egrep -e "^154 " items | grep "rune-fire." | 	$(AWK) -F'&' -f generic-extract | sort > runefire.html

runemark.html: items sorter
	egrep -e "^98 " items | grep "rune-mark." | 	$(AWK) -F'&' -f generic-extract | sort > runemark.html

runeshock.html: items sorter
	egrep -e "^154 " items | grep "rune-shock." | 	$(AWK) -F'&' -f generic-extract | sort > runeshock.html

chap5.html: chap5.shtml skill_stat.html statskmod.html lockpicks.html
	$(PERL) $(srcdir)/../include_html.pl chap5.shtml chap5.html

skill_stat.html: skills2-extract $(CROSSBIN)
		$(AWK) -F, -v crosscmd="$(CROSSBIN) -m5" 			-f skills2-extract | sort > skill_stat.html

version.html: $(CROSSBIN)
	$(CROSSBIN) -v 2>&1 | grep "^This is" | 		cut -d" " -f3- > version.html

statskmod.html:
	$(AWK) -v living_c=../../server/skill_util.c 	-f statskmod-extract > statskmod.html

lockpicks.html: items sorter
	egrep -e "^43 " items | grep "lockpicks" | 	$(AWK) -F'&' -f generic-extract | sort > lockpicks.html

chap6.html: chap6.shtml shop.html shopmat.html money.html books.html 	scrolls.html potions.html wands.html rods.html horns.html 	rings.html food.html flesh.html potion.html
	$(PERL) $(srcdir)/../include_html.pl chap6.shtml chap6.html

shop.html: items sorter
	egrep -e "^66 " items | grep "store" | 	$(AWK) -F'&' -f generic-extract | sort > shop.html

shopmat.html: items sorter
	egrep -e "^69 " items | 	$(AWK) -F'&' -f generic-extract | sort > shopmat.html

money.html: items sorter
	egrep -e "^36 " items | 	$(AWK) -F'&' -f generic-extract | sort > money.html

books.html: items sorter
	egrep -e "^8 " items | 	$(AWK) -F'&' -f generic-extract | sort > books.html

rings.html: items sorter
	egrep -e "^70 " items | 	$(AWK) -F'&' -f generic-extract | sort > rings.html

food.html: items sorter
	egrep -e "^6 " items | 	$(AWK) -F'&' -f generic-extract | sort > food.html

flesh.html: items sorter
	egrep -e "^72 " items | 	$(AWK) -F'&' -f generic-extract | sort > flesh.html

potion.html: items sorter
	egrep -e "^5 " items | grep "potiongen" | 	$(AWK) -F'&' -f generic-extract | sort > potion.html

stats.gif items.gif monsters.gif spells.gif characters.gif:
	touch $@

appC.html: appC.shtml gods.html
	$(PERL) $(srcdir)/../include_html.pl appC.shtml appC.html

gods.html: gods-extract $(CROSSBIN)
	$(AWK) -F, -v crosscmd="$(CROSSBIN) -m8" -f gods-extract > gods.html

archive: $(HANDBOOK)
	$(mkinstalldirs) $(DTOP)/handbook-html/fig
	cp $(HANDBOOK) $(DTOP)/handbook-html
	cp $(FIG) $(DTOP)/handbook-html/fig
	cp *.gif $(DTOP)/handbook-html

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
