weechat/doc/de/Makefile.am

85 lines
3.4 KiB
Makefile
Raw Normal View History

2009-09-05 23:16:51 +02:00
#
2013-01-01 13:12:49 +01:00
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
2009-09-05 23:16:51 +02:00
# 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.
#
# WeeChat is distributed in the hope that it will be useful,
2009-09-05 23:16:51 +02:00
# 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 WeeChat. If not, see <http://www.gnu.org/licenses/>.
2009-09-05 23:16:51 +02:00
#
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat-curses.1.de.txt \
cmdline_options.de.txt \
2010-06-14 10:16:34 +02:00
weechat_user.de.txt \
2010-08-05 14:01:00 +02:00
weechat_scripting.de.txt \
2010-01-24 10:47:53 +01:00
weechat_faq.de.txt \
weechat_quickstart.de.txt \
weechat_tester.de.txt \
$(wildcard autogen/user/*.txt)
2009-09-05 23:16:51 +02:00
all-local: weechat-curses.1 \
weechat_user.de.html \
2010-08-05 14:01:00 +02:00
weechat_scripting.de.html \
2010-06-14 10:16:34 +02:00
weechat_faq.de.html \
2009-09-10 08:43:39 +02:00
weechat_quickstart.de.html \
2009-09-09 22:25:24 +02:00
weechat_tester.de.html
2009-09-05 23:16:51 +02:00
# man page
weechat-curses.1: weechat-curses.1.de.txt cmdline_options.de.txt
$(A2X) -a lang=de -a revision="WeeChat $(VERSION)" -d manpage -f manpage -D . $(abs_top_srcdir)/doc/de/weechat-curses.1.de.txt
2010-06-14 10:16:34 +02:00
# user's guide
weechat_user.de.html: weechat_user.de.txt cmdline_options.de.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a lang=de -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.txt
2010-06-14 10:16:34 +02:00
2010-08-05 14:01:00 +02:00
# scripting guide
weechat_scripting.de.html: weechat_scripting.de.txt
$(ASCIIDOC) -a lang=de -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.txt
2010-08-05 14:01:00 +02:00
2009-09-10 08:43:39 +02:00
# FAQ
weechat_faq.de.html: weechat_faq.de.txt
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/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
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/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
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/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)$(mandir)/de/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/de/man1/
2009-09-05 23:16:51 +02:00
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# uninstall docs
uninstall-hook:
$(RM) $(DESTDIR)$(mandir)/de/man1/weechat-curses.1
-rmdir $(DESTDIR)$(mandir)/de/man1
$(RM) $(DESTDIR)$(docdir)/*.de.html
-rmdir $(DESTDIR)$(docdir)
2009-09-05 23:16:51 +02:00
# clean
clean-local:
-rm -f weechat-curses.1
2009-09-05 23:16:51 +02:00
-rm -f *.html