2001-08-23 13:31:58 +00:00
|
|
|
#! /bin/make -f
|
|
|
|
#
|
|
|
|
# Makefile to convert the example.sgml
|
|
|
|
|
|
|
|
# old multiple commands way
|
|
|
|
# COMMAND=sgml2
|
|
|
|
|
|
|
|
# new single command approach
|
2001-08-23 16:14:40 +00:00
|
|
|
COMMAND=linuxdoc --charset=latin --language=pl --split=0 --backend=
|
2001-08-23 13:31:58 +00:00
|
|
|
|
|
|
|
SOURCE=documentation.sgml
|
|
|
|
|
|
|
|
all: txt html tex dvi ps pdf info lyx rtf
|
|
|
|
echo "all output formats are created!"
|
|
|
|
|
|
|
|
|
|
|
|
txt:
|
|
|
|
$(COMMAND)$@ $(SOURCE)
|
|
|
|
|
|
|
|
html:
|
|
|
|
$(COMMAND)$@ $(SOURCE)
|
|
|
|
|
|
|
|
tex:
|
|
|
|
$(COMMAND)latex -o $@ $(SOURCE)
|
|
|
|
|
|
|
|
dvi:
|
|
|
|
$(COMMAND)latex -o $@ $(SOURCE)
|
|
|
|
|
|
|
|
ps:
|
|
|
|
$(COMMAND)latex -o $@ $(SOURCE)
|
|
|
|
|
|
|
|
pdf:
|
|
|
|
$(COMMAND)latex -o $@ $(SOURCE)
|
|
|
|
|
|
|
|
info:
|
|
|
|
$(COMMAND)$@ $(SOURCE)
|
|
|
|
|
|
|
|
lyx:
|
|
|
|
$(COMMAND)$@ $(SOURCE)
|
|
|
|
|
|
|
|
rtf:
|
|
|
|
$(COMMAND)$@ $(SOURCE)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.txt *.html *.tex *.dvi *.ps *.pdf *.info *.lyx *.rtf
|
|
|
|
|