blob: 2b51ee43e3d4afa0e42133afe6a213c244b85bd5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Rules to generate the files that need to go into the ELPA package.
# Copied and adapted from AUCTeX's GNUmakefile.
MAKEINFO=makeinfo
INSTALL_INFO=install-info
MANUALS=bbdb
INFO_FILES=$(MANUALS:=.info)
# FIXME: Currently these files need to be stored in the elpa.git repository
# because the elpa.gnu.org scripts don't know how to build the Info file
# from the Texinfo file.
GENERATED_FILES=dir $(INFO_FILES)
elpa: $(GENERATED_FILES)
clean:
rm -f $(GENERATED_FILES)
TEXI_SOURCES:=$(wildcard doc/*.texi)
$(INFO_FILES): %.info: $(TEXI_SOURCES)
cd doc; $(MAKEINFO) --no-split $*.texi
mv doc/$*.info $@
dir: $(INFO_FILES)
for f in $(INFO_FILES); do $(INSTALL_INFO) --info-dir=. $$f; done
|