]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/muse/texi/Makefile
Add Texinfo files for muse package.
[gnu-emacs-elpa] / packages / muse / texi / Makefile
diff --git a/packages/muse/texi/Makefile b/packages/muse/texi/Makefile
new file mode 100644 (file)
index 0000000..8f9f341
--- /dev/null
@@ -0,0 +1,29 @@
+.PHONY: all info-only doc clean realclean distclean fullclean install
+.PRECIOUS: %.info %.html
+
+DEFS = $(shell test -f ../Makefile.defs && echo ../Makefile.defs \
+       || echo ../Makefile.defs.default)
+
+include $(DEFS)
+
+all: doc
+
+%.info: %.texi
+       makeinfo $<
+
+%.html: %.texi
+       makeinfo --html --no-split $<
+
+info-only: $(MANUAL).info
+
+doc: $(MANUAL).info $(MANUAL).html
+
+clean: ;
+
+distclean realclean fullclean: clean
+       -rm -f $(MANUAL).info $(MANUAL).html
+
+install: $(MANUAL).info
+       [ -d $(INFODIR) ] || install -d $(INFODIR)
+       install -m 0644 $(MANUAL).info $(INFODIR)/$(MANUAL)
+       $(call install_info,$(MANUAL))