## Makefile.am -- Process this file with automake to process Makefile.in

angband_files = \
	attack.hlp attack.txt birth.hlp birth.txt \
	bldg.txt raceclas.hlp raceclas.txt command.hlp \
	command.txt commdesc.hlp commdesc.txt editor.txt \
	defend.hlp defend.txt dungeon.hlp dungeon.txt faq.txt \
	gambling.txt general.hlp general.txt help.hlp helpinfo.txt \
	j_general.txt j_item1.txt j_item2.txt j_trans.txt \
	jattack.hlp jattack.txt jbirth.hlp jbirth.txt \
	jbldg.txt jraceclas.hlp jraceclas.txt jcommand.hlp \
	jcommand.txt jcommdesc.hlp jcommdesc.txt jeditor.txt \
	jdefend.hlp jdefend.txt jdungeon.hlp jdungeon.txt \
	jgambling.txt jgeneral.hlp jgeneral.txt \
	jhelp.hlp jhelpinfo.txt jlicense.txt \
	jmagic.hlp jmagic.txt jmonster.hlp jmonster.txt \
	jobjects.hlp jobjects.txt joption.hlp joption.txt \
	jpref.hlp jpref.txt jspecial.hlp jtang.txt \
	jtown.hlp jtown.txt jversion.txt magic.hlp \
	magic.txt monster.hlp monster.txt objects.hlp \
	objects.txt option.hlp option.txt pref.hlp \
	pref.txt tang.txt town.hlp town.txt \
	version.txt

EXTRA_DIST = \
  $(angband_files)

if SET_GID
angbanddir = @DEFAULT_LIB_PATH@/help

angband_DATA = \
  $(angband_files)
endif

if COCOA
# APPNAME to APPRES duplicate what's in src/Makefile.am.  It would be nice to
# avoid that, but until then, they should match.
APPNAME = $(PACKAGE_NAME)
APPDIR = $(APPNAME).app
APPBNDL = $(bindir)/$(APPDIR)
APPCONT = $(APPBNDL)/Contents
APPRES = $(APPCONT)/Resources

apphelpdir = $(APPRES)/lib/help
apphelp_DATA = \
	$(angband_files)
endif
