Blame project/infodoc.mk

01ddc0
# infodoc.mk: rules for texinfo document generation.
01ddc0
# this file is covered by COPYING.BAUTOMAKE.
01ddc0
01ddc0
AUTOMAKE_DEST_INFO_DIR = $(DESTDIR)$(DATADIR)/info
01ddc0
01ddc0
INFO_GEN_DOCS =                \
01ddc0
	info/automake.info      \
01ddc0
	info/automake.info-1     \
01ddc0
	info/automake.info-2      \
01ddc0
	info/automake-history.info \
01ddc0
01ddc0
01ddc0
info/%.info: $(SOURCE_DIR)/doc/%.texi host.tag tree.tag
01ddc0
	$(MAKEINFO) $< -o $@
01ddc0
01ddc0
01ddc0
all-info-docs: info/automake.info info/automake-history.info
01ddc0
01ddc0
install-info-docs: all-info-docs
01ddc0
	mkdir -p $(AUTOMAKE_DEST_INFO_DIR)
01ddc0
	cp -p $(INFO_GEN_DOCS) $(AUTOMAKE_DEST_INFO_DIR)