50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
DESTDIR ?= /usr/local
|
|
|
|
.PHONY: all html dvi pdf ps install uninstall install-dvi install-pdf \
|
|
install-ps
|
|
|
|
all: markam.info
|
|
|
|
install: markam.info
|
|
install -Dm 655 markam.info "$(DESTDIR)/share/info/markam.info"
|
|
install-info --dir-file="$(DESTDIR)/share/info/dir" \
|
|
"$(DESTDIR)/share/info/markam.info"
|
|
|
|
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 -Dm 655 markam.dvi \
|
|
"$(DESTDIR)/share/doc/markam/dvi/markam.dvi"
|
|
|
|
install-pdf: markam.pdf
|
|
install -Dm 655 markam.pdf \
|
|
"$(DESTDIR)/share/doc/markam/pdf/markam.pdf"
|
|
|
|
install-ps: markam.ps
|
|
install -Dm 655 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
|