summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 7bcb1f530..17ac5905a 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -18,9 +18,21 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
+BUILT_SOURCES = build-asciidoc-css
+build-asciidoc-css:
+ cp $(abs_top_srcdir)/doc/asciidoc.css asciidoc_toc.css
+ cat $(abs_top_srcdir)/doc/asciidoc.css $(abs_top_srcdir)/doc/toc2.css > asciidoc_toc2.css
+
SUBDIRS = . en fr it de pl es ru ja
-EXTRA_DIST = docgen.py CMakeLists.txt asciidoc.conf asciidoc.css
+EXTRA_DIST = docgen.py \
+ CMakeLists.txt \
+ asciidoc.conf \
+ asciidoc.css \
+ toc2.css
uninstall-hook:
-rmdir $(DESTDIR)$(datadir)/doc/$(PACKAGE)
+
+clean-local:
+ -rm -f asciidoc_toc.css asciidoc_toc2.css