# mumi - Mediocre, uh, mail interface # Copyright © 2016-2020 Ricardo Wurmus # # This file is part of mumi. # # mumi 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. # # mumi 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 mumi. If not, see . include guile.am bin_SCRIPTS = \ scripts/mumi moddir = $(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION) godir = $(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache assetsdir = $(pkgdatadir)/assets assetscssdir = $(assetsdir)/css assetsimgdir = $(assetsdir)/img assetsjsdir = $(assetsdir)/js assetscss_DATA = $(wildcard assets/css/*) assetsimg_DATA = $(wildcard assets/img/*) assetsjs_DATA = $(wildcard assets/js/*) dist_pkgdata_DATA = etc/schema.sql SOURCES = \ mumi/web/download.scm \ mumi/web/server.scm \ mumi/web/render.scm \ mumi/web/controller.scm \ mumi/web/sxml.scm \ mumi/web/util.scm \ mumi/web/graphql.scm \ mumi/web/view/html.scm \ mumi/web/view/utils.scm \ mumi/cache.scm \ mumi/messages.scm \ mumi/jobs.scm \ mumi/send-email.scm \ mumi/config.scm \ mumi/debbugs.scm \ mumi/test-utils.scm \ mumi/xapian.scm TEST_EXTENSIONS = .scm SCM_TESTS = \ tests/debbugs.scm \ tests/xapian.scm TESTS = $(SCM_TESTS) EXTRA_DIST += $(TESTS) \ $(wildcard tests/data/*) AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" GUILE_AUTO_COMPILE=0 SCM_LOG_DRIVER = \ $(top_builddir)/pre-inst-env \ $(GUILE) --no-auto-compile -e main \ $(top_srcdir)/build-aux/test-driver.scm AM_SCM_LOG_DRIVER_FLAGS = --brief=yes PICO_SCSS = $(wildcard assets/pico/scss/*.scss) assets/css/mumi.css: assets/mumi.scss assets/_theme-switcher.scss $(PICO_SCSS) $(SASSC) $< $@ nobase_dist_assets_DATA = \ assets/css/mumi.css \ $(assetsjs_DATA) $(assetsimg_DATA) EXTRA_DIST += \ pre-inst-env.in \ build-aux/test-driver.scm \ assets/mumi.scss \ $(PICO_SCSS)