css: Draw multipart separator also when following an attachment.
[software/mumi.git] / Makefile.am
1 # mumi - Mediocre, uh, mail interface
2 # Copyright © 2016-2020 Ricardo Wurmus <rekado@elephly.net>
3 #
4 # This file is part of mumi.
5 #
6 # mumi is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # mumi is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with mumi. If not, see <http://www.gnu.org/licenses/>.
18
19 include guile.am
20
21 bin_SCRIPTS = \
22 scripts/mumi
23
24 moddir = $(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION)
25 godir = $(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache
26
27 assetsdir = $(pkgdatadir)/assets
28 assetscssdir = $(assetsdir)/css
29 assetsimgdir = $(assetsdir)/img
30 assetsjsdir = $(assetsdir)/js
31
32 assetscss_DATA = $(wildcard assets/css/*)
33 assetsimg_DATA = $(wildcard assets/img/*)
34 assetsjs_DATA = $(wildcard assets/js/*)
35
36 dist_pkgdata_DATA = etc/schema.sql
37
38 SOURCES = \
39 mumi/web/download.scm \
40 mumi/web/server.scm \
41 mumi/web/render.scm \
42 mumi/web/controller.scm \
43 mumi/web/sxml.scm \
44 mumi/web/util.scm \
45 mumi/web/view/html.scm \
46 mumi/web/view/utils.scm \
47 mumi/cache.scm \
48 mumi/messages.scm \
49 mumi/jobs.scm \
50 mumi/send-email.scm \
51 mumi/config.scm \
52 mumi/debbugs.scm \
53 mumi/test-utils.scm \
54 mumi/xapian.scm
55
56 TEST_EXTENSIONS = .scm
57
58 SCM_TESTS = \
59 tests/debbugs.scm \
60 tests/xapian.scm
61
62 TESTS = $(SCM_TESTS)
63
64 EXTRA_DIST += $(TESTS) \
65 $(wildcard tests/data/*)
66
67 AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" GUILE_AUTO_COMPILE=0
68
69 SCM_LOG_DRIVER = \
70 $(top_builddir)/pre-inst-env \
71 $(GUILE) --no-auto-compile -e main \
72 $(top_srcdir)/build-aux/test-driver.scm
73
74 AM_SCM_LOG_DRIVER_FLAGS = --brief=yes
75
76 EXTRA_DIST += \
77 pre-inst-env.in \
78 build-aux/test-driver.scm