1 # mumi - Mediocre, uh, mail interface
2 # Copyright © 2016-2020 Ricardo Wurmus <rekado@elephly.net>
4 # This file is part of mumi.
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.
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.
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/>.
24 moddir = $(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION)
25 godir = $(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache
27 assetsdir = $(pkgdatadir)/assets
28 assetscssdir = $(assetsdir)/css
29 assetsimgdir = $(assetsdir)/img
30 assetsjsdir = $(assetsdir)/js
32 assetscss_DATA = $(wildcard assets/css/*)
33 assetsimg_DATA = $(wildcard assets/img/*)
34 assetsjs_DATA = $(wildcard assets/js/*)
36 dist_pkgdata_DATA = etc/schema.sql
39 mumi/web/download.scm \
42 mumi/web/controller.scm \
45 mumi/web/view/html.scm \
46 mumi/web/view/utils.scm \
55 TEST_EXTENSIONS = .scm
62 EXTRA_DIST += $(TESTS)
64 AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" GUILE_AUTO_COMPILE=0
67 $(top_builddir)/pre-inst-env \
68 $(GUILE) --no-auto-compile -e main \
69 $(top_srcdir)/build-aux/test-driver.scm
71 AM_SCM_LOG_DRIVER_FLAGS = --brief=yes
75 build-aux/test-driver.scm