2b51ee43e3d4afa0e42133afe6a213c244b85bd5
1 # Rules to generate the files that need to go into the ELPA package.
3 # Copied and adapted from AUCTeX's GNUmakefile.
6 INSTALL_INFO
=install-info
9 INFO_FILES
=$(MANUALS
:=.
info)
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
)
16 elpa
: $(GENERATED_FILES
)
19 rm -f
$(GENERATED_FILES
)
21 TEXI_SOURCES
:=$(wildcard doc
/*.texi
)
22 $(INFO_FILES
): %.
info: $(TEXI_SOURCES
)
23 cd doc
; $(MAKEINFO
) --no-split
$*.texi
27 for f in
$(INFO_FILES
); do
$(INSTALL_INFO
) --info-dir
=.
$$f; done