2009-09-05 23:16:51 +02:00
# Copyright (c) 2003-2009 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 3 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, see <http://www.gnu.org/licenses/>.
#
docdir = $( datadir) /doc/$( PACKAGE)
EXTRA_DIST = CMakeLists.txt \
2009-09-10 08:43:39 +02:00
weechat_faq.de.txt \
2009-09-09 22:25:24 +02:00
weechat_quickstart.de.txt \
weechat_tester.de.txt
2009-09-05 23:16:51 +02:00
2009-09-10 08:43:39 +02:00
all-local : weechat_faq .de .html \
weechat_quickstart.de.html \
2009-09-09 22:25:24 +02:00
weechat_tester.de.html
2009-09-05 23:16:51 +02:00
2009-09-10 08:43:39 +02:00
# FAQ
weechat_faq.de.html : weechat_faq .de .txt
2009-11-18 21:36:21 +01:00
$( ASCIIDOC) -a toc -a toc-title= 'Inhaltsverzeichnis' -a date = ` date "+%F" ` -a revision = " $( VERSION) " -n -o weechat_faq.de.html weechat_faq.de.txt
2009-09-10 08:43:39 +02:00
2009-09-05 23:16:51 +02:00
# quickstart
weechat_quickstart.de.html : weechat_quickstart .de .txt
2009-11-18 21:36:21 +01:00
$( ASCIIDOC) -a toc -a toc-title= 'Inhaltsverzeichnis' -a date = ` date "+%F" ` -a revision = " $( VERSION) " -n -o weechat_quickstart.de.html weechat_quickstart.de.txt
2009-09-05 23:16:51 +02:00
2009-09-09 22:25:24 +02:00
# tester's guide
weechat_tester.de.html : weechat_tester .de .txt
2009-11-18 21:36:21 +01:00
$( ASCIIDOC) -a toc -a toc-title= 'Inhaltsverzeichnis' -a date = ` date "+%F" ` -a revision = " $( VERSION) " -n -o weechat_tester.de.html weechat_tester.de.txt
2009-09-09 22:25:24 +02:00
2009-09-05 23:16:51 +02:00
# install docs
install-data-hook :
$( mkinstalldirs) $( DESTDIR) $( docdir) /
$( INSTALL_DATA) *.html $( DESTDIR) $( docdir) /
# clean
clean-local :
-rm -f *.html