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
5a4cab
info/automake.info: $(SOURCE_DIR)/doc/automake.texi host.tag tree.tag
5a4cab
	$(MAKEINFO) $(SOURCE_DIR)/doc/automake.texi -o $@
5a4cab
5a4cab
info/automake-history.info: $(SOURCE_DIR)/doc/automake-history.texi host.tag tree.tag
5a4cab
	$(MAKEINFO) $(SOURCE_DIR)/doc/automake-history.texi -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)