mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 01:01:27 +00:00
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6720 d57e44dd-8a1f-0410-8b47-8ef2f437770f
47 lines
910 B
Makefile
47 lines
910 B
Makefile
SRCS = $(wildcard *.sgml)
|
|
|
|
TXTS = $(SRCS:.sgml=.txt)
|
|
GTXTS = $(SRCS:.sgml=.gtxt)
|
|
PDFS = $(SRCS:.sgml=.pdf)
|
|
HTMLS = $(SRCS:.sgml=.html)
|
|
RTFS = $(SRCS:.sgml=.rtf)
|
|
|
|
COMMAND=linuxdoc --backend=
|
|
|
|
all: pdf html
|
|
|
|
txt: $(TXTS)
|
|
|
|
gtxt: $(GTXTS)
|
|
|
|
pdf: $(PDFS)
|
|
|
|
html: $(HTMLS)
|
|
|
|
rtf: $(RTFS)
|
|
|
|
%.txt: %.sgml
|
|
$(COMMAND)txt -f $(<)
|
|
|
|
%.gtxt: %.sgml
|
|
$(COMMAND)txt $(<)
|
|
|
|
%.html: %.sgml
|
|
$(COMMAND)html --split=0 $(<)
|
|
|
|
%.pdf: %.sgml
|
|
$(COMMAND)latex -o pdf $(<)
|
|
|
|
%.rtf: %.sgml
|
|
$(COMMAND)rtf $(<)
|
|
|
|
clean:
|
|
-mv "Using-the-DLM-as-a-Distributed-In-Memory-Database.pdf" "Using-the-DLM-as-a-Distributed-In-Memory-Database.pdf_"
|
|
rm -f *.txt *.html *.tex *.dvi *.ps *.pdf *.info *.lyx *.rtf
|
|
-mv "Using-the-DLM-as-a-Distributed-In-Memory-Database.pdf_" "Using-the-DLM-as-a-Distributed-In-Memory-Database.pdf"
|
|
|
|
extraclean: clean
|
|
rm -f *.orig *.rej
|
|
|
|
.PHONY: all default html txt gtxt pdf tex dvi ps info lyx rtf check clean extraclean
|