
default:

# UGH. 
include $(stepdir)/www-targets.make

local-WWW: $(OUTHTML_FILES) footify

footify: $(sort $(wildcard $(outdir)/*.html out/*.html out-www/*.html))
	$(footify) $(sort $(wildcard $(outdir)/*.html out/*.html out-www/*.html))

deep-footify:
	$(deep-footify) $(sort $(wildcard $(outdir)/*/*.html))

# why isn't this in texinfo-targets?
INFO_INSTALL_FILES = $(wildcard $(addsuffix *, $(INFO_FILES)))

# should we call install-info?
INFOINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(infodir) depth=$(depth) INSTALLATION_OUT_FILES="$(INFO_INSTALL_FILES)" -f $(stepdir)/install-out.sub.make

local-install: install-info
local-uninstall: uninstall-info

install-info: $(INFO_FILES)
	-$(INSTALL) -d $(infodir)
	$(INFOINSTALL) local-install

uninstall-info:
	$(INFOINSTALL) local-uninstall
	-rmdir $(infodir)
