Blob Blame History Raw
# infodoc.mk: rules for texinfo document generation.
# this file is covered by COPYING.BAUTOMAKE.

AUTOMAKE_DEST_INFO_DIR = $(DESTDIR)$(DATADIR)/info

INFO_GEN_DOCS =                \
	info/automake.info      \
	info/automake.info-1     \
	info/automake.info-2      \
	info/automake-history.info \


info/automake.info: $(SOURCE_DIR)/doc/automake.texi host.tag tree.tag
	$(MAKEINFO) $(SOURCE_DIR)/doc/automake.texi -o $@

info/automake-history.info: $(SOURCE_DIR)/doc/automake-history.texi host.tag tree.tag
	$(MAKEINFO) $(SOURCE_DIR)/doc/automake-history.texi -o $@


all-info-docs: info/automake.info info/automake-history.info

install-info-docs: all-info-docs
	mkdir -p $(AUTOMAKE_DEST_INFO_DIR)
	cp -p $(INFO_GEN_DOCS) $(AUTOMAKE_DEST_INFO_DIR)