DESTDIR ?= /usr/local INSTALL_INFO = install-info TEXI2PDF = texi2pdf DVIPS = dvips .PHONY: all html dvi pdf ps install uninstall install-dvi install-pdf \ install-ps all: markam.info install: markam.info $(INSTALL_DATA) markam.info "$(DESTDIR)/share/info/markam.info" $(INSTALL_INFO) --dir-file="$(DESTDIR)/share/info/dir" \ "$(DESTDIR)/share/info/markam.info" install-strip: $(MAKE) install uninstall: $(INSTALL_INFO) --dir-file="$(DESTDIR)/share/info/dir" \ --delete "$(DESTDIR)/share/info/markam.info" rm -f "$(DESTDIR)/share/info/markam.info" rm -f "$(DESTDIR)/share/doc/markam/dvi/markam.dvi" rm -f "$(DESTDIR)/share/doc/markam/pdf/markam.pdf" rm -f "$(DESTDIR)/share/doc/markam/ps/markam.ps" rm -rf "$(DESTDIR)/share/doc/markam/html/" install-dvi: markam.dvi $(INSTALL_DATA) markam.dvi \ "$(DESTDIR)/share/doc/markam/dvi/markam.dvi" install-pdf: markam.pdf $(INSTALL_DATA) markam.pdf \ "$(DESTDIR)/share/doc/markam/pdf/markam.pdf" install-ps: markam.ps $(INSTALL_DATA) markam.ps \ "$(DESTDIR)/share/doc/markam/ps/markam.ps" markam.info: markam.texi html: markam.texi $(MAKEINFO) --html markam.texi -o html dvi: markam.dvi pdf: markam.pdf ps: markam.ps markam.dvi: markam.texi $(TEXI2DVI) markam.texi markam.pdf: markam.texi $(TEXI2PDF) markam.texi markam.ps: markam.dvi $(DVIPS) markam.dvi