Commit b406b928 authored by Sam Hocevar's avatar Sam Hocevar

* Added an "all-lang" rule in every makefile.

  * Fixed misplaced file locations.
parent 4d19624b
......@@ -3,7 +3,9 @@
# To build another language than the default one, do 'make LANG=foo'
# XML declaration
XML_DECL := /usr/lib/sgml/declaration/xml.decl
XML_DECL1 = /usr/lib/sgml/declaration/xml.decl
XML_DECL2 = /usr/share/sgml/declaration/xml.decl
XML_DECL = `test -f $(XML_DECL1) && echo $(XML_DECL1) || echo $(XML_DECL2)`
# Build HTML, PDF, RTF and TXT outputs (for the web site)
all: $(LANG)/$(DOC)-$(LANG).html $(LANG)/$(DOC)-$(LANG).pdf $(LANG)/$(DOC)-$(LANG).rtf $(LANG)/$(DOC)-$(LANG).txt
......@@ -45,3 +47,8 @@ $(LANG)/$(DOC)-$(LANG).txt: $(LANG)/$(DOC)-$(LANG).xml ../common/stylesheet-txt.
# Delete all outputs
clean:
rm -rf $(ALL_LANG)
# All languages
all-lang:
for l in $(ALL_LANG); do $(MAKE) LANG=$$l || exit 1; done
......@@ -59,3 +59,8 @@ $(LANG)/$(DOC)-$(LANG).txt:init-$(LANG)
# Delete all outputs
clean:
rm -rf $(ALL_LANG)
# All languages
all-lang:
for l in $(ALL_LANG); do $(MAKE) LANG=$$l || exit 1; done
......@@ -6,7 +6,9 @@
DOC := videolan-howto
# XML declaration
XML_DECL := /usr/lib/sgml/declaration/xml.decl
XML_DECL1 = /usr/lib/sgml/declaration/xml.decl
XML_DECL2 = /usr/share/sgml/declaration/xml.decl
XML_DECL = `test -f $(XML_DECL1) && echo $(XML_DECL1) || echo $(XML_DECL2)`
# Default language (English)
LANG = en
......@@ -57,3 +59,8 @@ $(LANG)/$(DOC)-$(LANG).txt:init-$(LANG)
# Delete all outputs
clean:
rm -rf $(ALL_LANG)
# All languages
all-lang:
for l in $(ALL_LANG); do $(MAKE) LANG=$$l || exit 1; done
......@@ -6,7 +6,9 @@
DOC := videolan-quickstart
# XML declaration
XML_DECL := /usr/lib/sgml/declaration/xml.decl
XML_DECL1 = /usr/lib/sgml/declaration/xml.decl
XML_DECL2 = /usr/share/sgml/declaration/xml.decl
XML_DECL = `test -f $(XML_DECL1) && echo $(XML_DECL1) || echo $(XML_DECL2)`
# Default language (English)
LANG = en
......@@ -54,3 +56,8 @@ $(LANG)/$(DOC)-$(LANG).txt: $(LANG)/$(DOC)-$(LANG).xml ../common/stylesheet-txt.
# Delete all outputs
clean:
rm -rf $(ALL_LANG)
# All languages
all-lang:
for l in $(ALL_LANG); do $(MAKE) LANG=$$l || exit 1; done
......@@ -6,7 +6,9 @@
DOC := vlc-user-guide
# XML declaration
XML_DECL := /usr/lib/sgml/declaration/xml.decl
XML_DECL1 = /usr/lib/sgml/declaration/xml.decl
XML_DECL2 = /usr/share/sgml/declaration/xml.decl
XML_DECL = `test -f $(XML_DECL1) && echo $(XML_DECL1) || echo $(XML_DECL2)`
# Default language (English)
LANG = en
......@@ -57,3 +59,8 @@ $(LANG)/$(DOC)-$(LANG).txt:init-$(LANG)
# Delete all outputs
clean:
rm -rf $(ALL_LANG)
# All languages
all-lang:
for l in $(ALL_LANG); do $(MAKE) LANG=$$l || exit 1; done
......@@ -6,7 +6,9 @@
DOC := vls-user-guide
# XML declaration
XML_DECL := /usr/lib/sgml/declaration/xml.decl
XML_DECL1 = /usr/lib/sgml/declaration/xml.decl
XML_DECL2 = /usr/share/sgml/declaration/xml.decl
XML_DECL = `test -f $(XML_DECL1) && echo $(XML_DECL1) || echo $(XML_DECL2)`
# Default language (English)
LANG = en
......@@ -57,3 +59,8 @@ $(LANG)/$(DOC)-$(LANG).txt:init-$(LANG)
# Delete all outputs
clean:
rm -rf $(ALL_LANG)
# All languages
all-lang:
for l in $(ALL_LANG); do $(MAKE) LANG=$$l || exit 1; done
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