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: DOC := faq-alone
rm -f *.html NAME := FAQ-vlc
sgmltools -b onehtml -s ../common/stylesheet-html.dsl faq-alone.sgml
rm -f faq-alone.html
ln -s faq.html index.html
clean: # We build HTML, PS, PDF, RTF and TXT for the Web site
rm -f *.html *.txt *.zip *.pdf *.ps *.rtf all: html ps pdf rtf txt
html-zip: html:
zip FAQ-vlc-html.zip *.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: ps:
sgmltools -b txt faq-alone.sgml sgmltools -b ps -s ../common/stylesheet-print-noicones.dsl $(DOC).sgml
mv -f faq-alone.txt FAQ-vlc.txt mv -f $(DOC).ps $(NAME).ps
zip $(NAME)-ps.zip $(NAME).ps
pdf: pdf:
sgmltools -b pdf -s ../common/stylesheet-print-noicones.dsl faq-alone.sgml sgmltools -b pdf -s ../common/stylesheet-print-noicones.dsl $(DOC).sgml
mv -f faq-alone.pdf FAQ-vlc.pdf mv -f $(DOC).pdf $(NAME).pdf
zip FAQ-vlc-pdf.zip FAQ-vlc.pdf zip $(NAME)-pdf.zip $(NAME).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
rtf: rtf:
sgmltools -b rtf -s ../common/stylesheet-print-noicones.dsl faq-alone.sgml sgmltools -b rtf -s ../common/stylesheet-print-noicones.dsl $(DOC).sgml
mv -f faq-alone.rtf FAQ-vlc.rtf mv -f $(DOC).rtf $(NAME).rtf
zip FAQ-vlc-rtf.zip FAQ-vlc.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