weechat/doc/de/Makefile.am

56 lines
2.0 KiB
Makefile
Raw Normal View History

2010-01-03 19:31:55 +01:00
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
2009-09-05 23:16:51 +02:00
#
# 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 \
2010-06-14 10:16:34 +02:00
weechat_user.de.txt \
2010-01-24 10:47:53 +01:00
weechat_faq.de.txt \
weechat_quickstart.de.txt \
weechat_tester.de.txt
2009-09-05 23:16:51 +02:00
2010-06-14 10:16:34 +02:00
all-local: weechat_user.de.html \
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
2010-06-14 10:16:34 +02:00
# user's guide
weechat_user.de.html: weechat_user.de.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_user.de.html weechat_user.de.txt
2009-09-10 08:43:39 +02:00
# FAQ
weechat_faq.de.html: weechat_faq.de.txt
$(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
$(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
$(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