[emacs] remove unnecessary overrides & silence some compile warnings
[~bandali/configs] / lisp / bbdb / GNUmakefile
1 # Rules to generate the files that need to go into the ELPA package.
2
3 # Copied and adapted from AUCTeX's GNUmakefile.
4
5 MAKEINFO=makeinfo
6 INSTALL_INFO=install-info
7
8 MANUALS=bbdb
9 INFO_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.
14 GENERATED_FILES=dir $(INFO_FILES)
15
16 elpa: $(GENERATED_FILES)
17
18 clean:
19 rm -f $(GENERATED_FILES)
20
21 TEXI_SOURCES:=$(wildcard doc/*.texi)
22 $(INFO_FILES): %.info: $(TEXI_SOURCES)
23 cd doc; $(MAKEINFO) --no-split $*.texi
24 mv doc/$*.info $@
25
26 dir: $(INFO_FILES)
27 for f in $(INFO_FILES); do $(INSTALL_INFO) --info-dir=. $$f; done