Files
scst/doc/Makefile
Vladislav Bolkhovitin 10ebf80e7a Docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5931 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-11 04:27:17 +00:00

45 lines
674 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:
rm -f *.txt *.html *.tex *.dvi *.ps *.pdf *.info *.lyx *.rtf
extraclean: clean
rm -f *.orig *.rej
.PHONY: all default html txt gtxt pdf tex dvi ps info lyx rtf check clean extraclean