summaryrefslogtreecommitdiff
path: root/project/infodoc.mk
blob: 78871631b116ca9e131b2868a2e78bb4ad052f3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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/%.info: $(SOURCE_DIR)/doc/%.texi host.tag tree.tag
	$(MAKEINFO) $< -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)