Commit e5d8f0b4 authored by Alexis de Lattre's avatar Alexis de Lattre

Makefile : Minor changes.

parent 06895b5b
all: clean html html-zip txt pdf ps rtf
# Makefile for the VideoLAN Documentation
html:
rm -f *.html
sgmltools -b onehtml -s ../common/stylesheet-html.dsl faq-alone.sgml
rm -f faq-alone.html
ln -s faq.html index.html
DOC := faq-alone
NAME := FAQ-vlc
clean:
rm -f *.html *.txt *.zip *.pdf *.ps *.rtf
# We build HTML, PS, PDF, RTF and TXT for the Web site
all: html ps pdf rtf txt
html-zip:
zip FAQ-vlc-html.zip *.html
html:
sgmltools -b onehtml -s ../common/stylesheet-html.dsl $(DOC).sgml
# Delete empty file !
rm -f faq-alone.html
ln -sf faq.html index.html
zip $(NAME)-html.zip *.html
txt:
sgmltools -b txt faq-alone.sgml
mv -f faq-alone.txt FAQ-vlc.txt
ps:
sgmltools -b ps -s ../common/stylesheet-print-noicones.dsl $(DOC).sgml
mv -f $(DOC).ps $(NAME).ps
zip $(NAME)-ps.zip $(NAME).ps
pdf:
sgmltools -b pdf -s ../common/stylesheet-print-noicones.dsl faq-alone.sgml
mv -f faq-alone.pdf FAQ-vlc.pdf
zip FAQ-vlc-pdf.zip FAQ-vlc.pdf
ps:
sgmltools -b ps -s ../common/stylesheet-print-noicones.dsl faq-alone.sgml
mv -f faq-alone.ps FAQ-vlc.ps
zip FAQ-vlc-ps.zip FAQ-vlc.ps
sgmltools -b pdf -s ../common/stylesheet-print-noicones.dsl $(DOC).sgml
mv -f $(DOC).pdf $(NAME).pdf
zip $(NAME)-pdf.zip $(NAME).pdf
rtf:
sgmltools -b rtf -s ../common/stylesheet-print-noicones.dsl faq-alone.sgml
mv -f faq-alone.rtf FAQ-vlc.rtf
zip FAQ-vlc-rtf.zip FAQ-vlc.rtf
sgmltools -b rtf -s ../common/stylesheet-print-noicones.dsl $(DOC).sgml
mv -f $(DOC).rtf $(NAME).rtf
zip $(NAME)-rtf.zip $(NAME).rtf
txt:
sgmltools -b txt $(DOC).sgml
mv -f $(DOC).txt $(NAME).txt
clean:
rm -f *.zip *.html *.pdf *.ps *.txt *.rtf
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment