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