Revert last patch. Place buffer-string inside of with-temp-buffer.
[muse-el.git] / texi / Makefile
blob8f9f34154325cbeda246f6b89170086e3a48345a
1 .PHONY: all info-only doc clean realclean distclean fullclean install
2 .PRECIOUS: %.info %.html
4 DEFS = $(shell test -f ../Makefile.defs && echo ../Makefile.defs \
5 || echo ../Makefile.defs.default)
7 include $(DEFS)
9 all: doc
11 %.info: %.texi
12 makeinfo $<
14 %.html: %.texi
15 makeinfo --html --no-split $<
17 info-only: $(MANUAL).info
19 doc: $(MANUAL).info $(MANUAL).html
21 clean: ;
23 distclean realclean fullclean: clean
24 -rm -f $(MANUAL).info $(MANUAL).html
26 install: $(MANUAL).info
27 [ -d $(INFODIR) ] || install -d $(INFODIR)
28 install -m 0644 $(MANUAL).info $(INFODIR)/$(MANUAL)
29 $(call install_info,$(MANUAL))