# Safsaf, a Guile web framework # Copyright (C) 2026 Christopher Baines # # This program is free software: you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation, either version 3 of # the License, or (at your option) any later version. # # This program 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this program. If not, see # . info_TEXINFOS = index.texi index_TEXINFOS = guidance.texi api/index.texi version-history.texi version-history.texi: $(top_srcdir)/NEWS $(AM_V_GEN)$(GUILE) $(top_srcdir)/build-aux/news-to-texi.scm $< > $@ API_SOURCES = \ $(top_srcdir)/safsaf.scm \ $(top_srcdir)/safsaf/utils.scm \ $(top_srcdir)/safsaf/templating.scm \ $(top_srcdir)/safsaf/response-helpers.scm \ $(top_srcdir)/safsaf/params.scm \ $(top_srcdir)/safsaf/handler-wrappers/logging.scm \ $(top_srcdir)/safsaf/handler-wrappers/security-headers.scm \ $(top_srcdir)/safsaf/handler-wrappers/cors.scm \ $(top_srcdir)/safsaf/handler-wrappers/csrf.scm \ $(top_srcdir)/safsaf/handler-wrappers/exceptions.scm \ $(top_srcdir)/safsaf/handler-wrappers/sessions.scm \ $(top_srcdir)/safsaf/handler-wrappers/trailing-slash.scm \ $(top_srcdir)/safsaf/handler-wrappers/max-body-size.scm \ $(top_srcdir)/safsaf/router.scm html-local: index.html index.html: index.texi $(index_TEXINFOS) $(AM_V_GEN)$(MAKEINFO) --css-ref=https://luis-felipe.gitlab.io/texinfo-css/static/css/texinfo-7.css \ --no-split --html -c SHOW_TITLE=true -o $@ $(srcdir)/index.texi EXTRA_DIST = logo.svg CLEANFILES = index.html if HAVE_DOCUMENTA api/index.texi: $(API_SOURCES) cd $(top_srcdir) && ./pre-inst-env \ $(DOCUMENTA) api "safsaf.scm safsaf/" endif