summaryrefslogtreecommitdiff
path: root/project/infodoc.mk
blob: 197d783be2f8c8ce7f89466034cafb6059ca0c00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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)