summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2003-11-23 13:15:27 +0000
committerSebastien Helleu <flashcode@flashtux.org>2003-11-23 13:15:27 +0000
commite469f0ef48bbfcff074fa1ffeec196253e8cd55b (patch)
tree1f2e23637ce28480934b934811e68ce4eb616b36 /doc/Makefile
parentba65f5ec3056b73cbde03475b8b02463cc1a355f (diff)
downloadweechat-e469f0ef48bbfcff074fa1ffeec196253e8cd55b.zip
WeeChat documentation
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 000000000..657e3965f
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,33 @@
+# Copyright (c) 2003 FlashCode <flashcode@flashtux.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+all: weechat_doc_fr.texi weechat_doc_en.texi weechat_doc_pt.texi
+ export LANG=fr_FR && makeinfo --html --no-split --number-sections weechat_doc_fr.texi
+ export LANG=fr_FR && makeinfo --no-headers --no-warn --no-split --number-sections weechat_doc_fr.texi >weechat_doc_fr.txt
+ export LANG=en_EN && makeinfo --html --no-split --number-sections weechat_doc_en.texi
+ export LANG=en_EN && makeinfo --no-headers --no-warn --no-split --number-sections weechat_doc_en.texi >weechat_doc_en.txt
+ export LANG=pt_PT && makeinfo --html --no-split --number-sections weechat_doc_pt.texi
+ export LANG=pt_PT && makeinfo --no-headers --no-warn --no-split --number-sections weechat_doc_pt.texi >weechat_doc_pt.txt
+ export LANG=fr_FR && texi2pdf weechat_doc_fr.texi
+ export LANG=en_EN && texi2pdf weechat_doc_en.texi
+ export LANG=pt_PT && texi2pdf weechat_doc_pt.texi
+
+clean:
+ rm -rf weechat_doc_*.aux weechat_doc_*.cp weechat_doc_*.fn \
+ weechat_doc_*.html weechat_doc_*.ky weechat_doc_*.log \
+ weechat_doc_*.pdf weechat_doc_*.pg weechat_doc_*.toc \
+ weechat_doc_*.tp weechat_doc_*.txt weechat_doc_*.vr