diff options
-rw-r--r-- | doc/Makefile.am | 3 | ||||
-rw-r--r-- | doc/de/Makefile.am | 16 | ||||
-rw-r--r-- | doc/en/Makefile.am | 18 | ||||
-rw-r--r-- | doc/fr/Makefile.am | 18 | ||||
-rw-r--r-- | doc/it/Makefile.am | 18 | ||||
-rw-r--r-- | doc/ja/Makefile.am | 8 | ||||
-rw-r--r-- | doc/pl/Makefile.am | 12 | ||||
-rw-r--r-- | doc/ru/Makefile.am | 8 | ||||
-rw-r--r-- | src/plugins/Makefile.am | 7 |
9 files changed, 79 insertions, 29 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 27ebf2648..d24186e7e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -23,3 +23,6 @@ SUBDIRS = . en fr pl de ru ja it man_MANS = weechat-curses.1 EXTRA_DIST = $(man_MANS) docgen.py CMakeLists.txt asciidoc.conf asciidoc.css + +uninstall-hook: + -rmdir $(DESTDIR)$(datadir)/doc/$(PACKAGE) diff --git a/doc/de/Makefile.am b/doc/de/Makefile.am index 2c187aaf4..66670d9ba 100644 --- a/doc/de/Makefile.am +++ b/doc/de/Makefile.am @@ -36,23 +36,23 @@ all-local: weechat_user.de.html \ # user's guide weechat_user.de.html: weechat_user.de.txt $(wildcard autogen/user/*.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 -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.de.html weechat_user.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 -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.txt # 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 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 # 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 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 # 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 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 # 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 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 # install docs @@ -60,6 +60,12 @@ install-data-hook: $(mkinstalldirs) $(DESTDIR)$(docdir)/ $(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/ +# uninstall docs + +uninstall-hook: + $(RM) $(DESTDIR)$(docdir)/*.de.html + -rmdir $(DESTDIR)$(docdir) + # clean clean-local: diff --git a/doc/en/Makefile.am b/doc/en/Makefile.am index 3f68d24d7..9cf2ad52f 100644 --- a/doc/en/Makefile.am +++ b/doc/en/Makefile.am @@ -39,27 +39,27 @@ all-local: weechat_user.en.html \ # user's guide weechat_user.en.html: weechat_user.en.txt $(wildcard autogen/user/*.txt) - $(ASCIIDOC) -a toc -a toclevels=3 -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.en.html weechat_user.en.txt + $(ASCIIDOC) -a toc -a toclevels=3 -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.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.txt # plugin API reference weechat_plugin_api.en.html: weechat_plugin_api.en.txt $(wildcard autogen/plugin_api/*.txt) - $(ASCIIDOC) -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.en.html weechat_plugin_api.en.txt + $(ASCIIDOC) -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.en.html $(abs_top_srcdir)/doc/en/weechat_plugin_api.en.txt # scripting guide weechat_scripting.en.html: weechat_scripting.en.txt - $(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.en.html weechat_scripting.en.txt + $(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.en.html $(abs_top_srcdir)/doc/en/weechat_scripting.en.txt # FAQ weechat_faq.en.html: weechat_faq.en.txt - $(ASCIIDOC) -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.en.html weechat_faq.en.txt + $(ASCIIDOC) -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.en.html $(abs_top_srcdir)/doc/en/weechat_faq.en.txt # quickstart weechat_quickstart.en.html: weechat_quickstart.en.txt - $(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.en.html weechat_quickstart.en.txt + $(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.en.html $(abs_top_srcdir)/doc/en/weechat_quickstart.en.txt # tester's guide weechat_tester.en.html: weechat_tester.en.txt - $(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.en.html weechat_tester.en.txt + $(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.en.html $(abs_top_srcdir)/doc/en/weechat_tester.en.txt # install docs @@ -67,6 +67,12 @@ install-data-hook: $(mkinstalldirs) $(DESTDIR)$(docdir)/ $(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/ +# uninstall docs + +uninstall-hook: + $(RM) $(DESTDIR)$(docdir)/*.en.html + -rmdir $(DESTDIR)$(docdir) + # clean clean-local: diff --git a/doc/fr/Makefile.am b/doc/fr/Makefile.am index 9745d2010..667c87fc5 100644 --- a/doc/fr/Makefile.am +++ b/doc/fr/Makefile.am @@ -39,27 +39,27 @@ all-local: weechat_user.fr.html \ # user's guide weechat_user.fr.html: weechat_user.fr.txt $(wildcard autogen/user/*.txt) - $(ASCIIDOC) -a lang=fr -a toc -a toclevels=3 -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.fr.html weechat_user.fr.txt + $(ASCIIDOC) -a lang=fr -a toc -a toclevels=3 -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.fr.html $(abs_top_srcdir)/doc/fr/weechat_user.fr.txt # plugin API reference weechat_plugin_api.fr.html: weechat_plugin_api.fr.txt $(wildcard autogen/plugin_api/*.txt) - $(ASCIIDOC) -a lang=fr -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.fr.html weechat_plugin_api.fr.txt + $(ASCIIDOC) -a lang=fr -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.fr.html $(abs_top_srcdir)/doc/fr/weechat_plugin_api.fr.txt # scripting guide weechat_scripting.fr.html: weechat_scripting.fr.txt - $(ASCIIDOC) -a lang=fr -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.fr.html weechat_scripting.fr.txt + $(ASCIIDOC) -a lang=fr -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.fr.html $(abs_top_srcdir)/doc/fr/weechat_scripting.fr.txt # FAQ weechat_faq.fr.html: weechat_faq.fr.txt - $(ASCIIDOC) -a lang=fr -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.fr.html weechat_faq.fr.txt + $(ASCIIDOC) -a lang=fr -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.fr.html $(abs_top_srcdir)/doc/fr/weechat_faq.fr.txt # quickstart weechat_quickstart.fr.html: weechat_quickstart.fr.txt - $(ASCIIDOC) -a lang=fr -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.fr.html weechat_quickstart.fr.txt + $(ASCIIDOC) -a lang=fr -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.fr.html $(abs_top_srcdir)/doc/fr/weechat_quickstart.fr.txt # tester's guide weechat_tester.fr.html: weechat_tester.fr.txt - $(ASCIIDOC) -a lang=fr -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.fr.html weechat_tester.fr.txt + $(ASCIIDOC) -a lang=fr -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.fr.html $(abs_top_srcdir)/doc/fr/weechat_tester.fr.txt # install docs @@ -67,6 +67,12 @@ install-data-hook: $(mkinstalldirs) $(DESTDIR)$(docdir)/ $(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/ +# uninstall docs + +uninstall-hook: + $(RM) $(DESTDIR)$(docdir)/*.fr.html + -rmdir $(DESTDIR)$(docdir) + # clean clean-local: diff --git a/doc/it/Makefile.am b/doc/it/Makefile.am index 709f01507..02bf407aa 100644 --- a/doc/it/Makefile.am +++ b/doc/it/Makefile.am @@ -38,27 +38,27 @@ all-local: weechat_user.it.html \ # user's guide weechat_user.it.html: weechat_user.it.txt $(wildcard autogen/user/*.txt) - $(ASCIIDOC) -a lang=it -a toc -a toclevels=3 -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.it.html weechat_user.it.txt + $(ASCIIDOC) -a lang=it -a toc -a toclevels=3 -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.it.html $(abs_top_srcdir)/doc/it/weechat_user.it.txt # plugin API reference weechat_plugin_api.it.html: weechat_plugin_api.it.txt $(wildcard autogen/plugin_api/*.txt) - $(ASCIIDOC) -a lang=it -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.it.html weechat_plugin_api.it.txt + $(ASCIIDOC) -a lang=it -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.it.html $(abs_top_srcdir)/doc/it/weechat_plugin_api.it.txt # scripting guide weechat_scripting.it.html: weechat_scripting.it.txt - $(ASCIIDOC) -a lang=it -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.it.html weechat_scripting.it.txt + $(ASCIIDOC) -a lang=it -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.it.html $(abs_top_srcdir)/doc/it/weechat_scripting.it.txt # FAQ weechat_faq.it.html: weechat_faq.it.txt - $(ASCIIDOC) -a lang=it -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.it.html weechat_faq.it.txt + $(ASCIIDOC) -a lang=it -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.it.html $(abs_top_srcdir)/doc/it/weechat_faq.it.txt # quickstart weechat_quickstart.it.html: weechat_quickstart.it.txt - $(ASCIIDOC) -a lang=it -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.it.html weechat_quickstart.it.txt + $(ASCIIDOC) -a lang=it -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.it.html $(abs_top_srcdir)/doc/it/weechat_quickstart.it.txt # tester's guide weechat_tester.it.html: weechat_tester.it.txt - $(ASCIIDOC) -a lang=it -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.it.html weechat_tester.it.txt + $(ASCIIDOC) -a lang=it -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.it.html $(abs_top_srcdir)/doc/it/weechat_tester.it.txt # install docs @@ -66,6 +66,12 @@ install-data-hook: $(mkinstalldirs) $(DESTDIR)$(docdir)/ $(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/ +# uninstall docs + +uninstall-hook: + $(RM) $(DESTDIR)$(docdir)/*.it.html + -rmdir $(DESTDIR)$(docdir) + # clean clean-local: diff --git a/doc/ja/Makefile.am b/doc/ja/Makefile.am index 04f6f10b1..384d4ce8c 100644 --- a/doc/ja/Makefile.am +++ b/doc/ja/Makefile.am @@ -26,7 +26,7 @@ all-local: weechat_quickstart.ja.html # quickstart weechat_quickstart.ja.html: weechat_quickstart.ja.txt - $(ASCIIDOC) -a toc -a toc-title='目次' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.ja.html weechat_quickstart.ja.txt + $(ASCIIDOC) -a toc -a toc-title='目次' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.ja.html $(abs_top_srcdir)/doc/ja/weechat_quickstart.ja.txt # install docs @@ -34,6 +34,12 @@ install-data-hook: $(mkinstalldirs) $(DESTDIR)$(docdir)/ $(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/ +# uninstall docs + +uninstall-hook: + $(RM) $(DESTDIR)$(docdir)/*.ja.html + -rmdir $(DESTDIR)$(docdir) + # clean clean-local: diff --git a/doc/pl/Makefile.am b/doc/pl/Makefile.am index 743c952ec..5b6a132ae 100644 --- a/doc/pl/Makefile.am +++ b/doc/pl/Makefile.am @@ -31,15 +31,15 @@ all-local: weechat_faq.pl.html \ # FAQ weechat_faq.pl.html: weechat_faq.pl.txt - $(ASCIIDOC) -a toc -a toc-title='Spis treści' -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.pl.html weechat_faq.pl.txt + $(ASCIIDOC) -a toc -a toc-title='Spis treści' -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.pl.html $(abs_top_srcdir)/doc/pl/weechat_faq.pl.txt # quickstart weechat_quickstart.pl.html: weechat_quickstart.pl.txt - $(ASCIIDOC) -a toc -a toc-title='Spis treści' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.pl.html weechat_quickstart.pl.txt + $(ASCIIDOC) -a toc -a toc-title='Spis treści' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.pl.html $(abs_top_srcdir)/doc/pl/weechat_quickstart.pl.txt # tester's guide weechat_tester.pl.html: weechat_tester.pl.txt - $(ASCIIDOC) -a toc -a toc-title='Spis treści' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.pl.html weechat_tester.pl.txt + $(ASCIIDOC) -a toc -a toc-title='Spis treści' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.pl.html $(abs_top_srcdir)/doc/pl/weechat_tester.pl.txt # install docs @@ -47,6 +47,12 @@ install-data-hook: $(mkinstalldirs) $(DESTDIR)$(docdir)/ $(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/ +# uninstall docs + +uninstall-hook: + $(RM) $(DESTDIR)$(docdir)/*.pl.html + -rmdir $(DESTDIR)$(docdir) + # clean clean-local: diff --git a/doc/ru/Makefile.am b/doc/ru/Makefile.am index a97ac302a..0b91f3b4a 100644 --- a/doc/ru/Makefile.am +++ b/doc/ru/Makefile.am @@ -26,7 +26,7 @@ all-local: weechat_quickstart.ru.html # quickstart weechat_quickstart.ru.html: weechat_quickstart.ru.txt - $(ASCIIDOC) -a lang=ru -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.ru.html weechat_quickstart.ru.txt + $(ASCIIDOC) -a lang=ru -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.ru.html $(abs_top_srcdir)/doc/ru/weechat_quickstart.ru.txt # install docs @@ -34,6 +34,12 @@ install-data-hook: $(mkinstalldirs) $(DESTDIR)$(docdir)/ $(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/ +# uninstall docs + +uninstall-hook: + $(RM) $(DESTDIR)$(docdir)/*.ru.html + -rmdir $(DESTDIR)$(docdir) + # clean clean-local: diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index 63e392d11..c43ea99ba 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -100,4 +100,9 @@ EXTRA_DIST = CMakeLists.txt install-data-hook: $(INSTALL) -d $(includedir)/$(PACKAGE) - $(INSTALL_DATA) weechat-plugin.h $(includedir)/$(PACKAGE) + $(INSTALL_DATA) $(abs_top_srcdir)/src/plugins/weechat-plugin.h $(includedir)/$(PACKAGE) + +# uninstall plugin header + +uninstall-hook: + $(RM) $(includedir)/$(PACKAGE)/weechat-plugin.h |