aboutsummaryrefslogtreecommitdiff
path: root/src/guile/Makefile.am
diff options
context:
space:
mode:
authorArun Isaac2022-03-13 21:38:13 +0530
committerArun Isaac2022-04-13 01:04:47 +0530
commit621eb1945aec8f26f5aee4bdf896f2434e145182 (patch)
treed228b087a0034a304fa87021d5d61e69b2208b8b /src/guile/Makefile.am
parent3746030f437db70c8ede10f7f063fac2a8d51248 (diff)
downloadskribilo-621eb1945aec8f26f5aee4bdf896f2434e145182.tar.gz
skribilo-621eb1945aec8f26f5aee4bdf896f2434e145182.tar.lz
skribilo-621eb1945aec8f26f5aee4bdf896f2434e145182.zip
reader: Add Gemtext reader.
* src/guile/skribilo/reader/gemtext.scm: New file. * configure.ac: Set BUILD_GEMTEXT_READER automake conditional to true if (srfi srfi-171) is found. Else, set it to false. * src/guile/Makefile.am (readers): Add skribilo/reader/gemtext.scm if BUILD_GEMTEXT_READER is true. (EXTRA_DIST): Add skribilo/reader/gemtext.scm if BUILD_GEMTEXT_READER is false. * doc/user/syntax.skb (The Gemtext Syntax): New section. * tests/readers/gemtext.test: New file. * tests/Makefile.am (TESTS): Add readers/gemtext.test if BUILD_GEMTEXT_READER is true. (EXTRA_DIST): Add readers/gemtext.text if BUILD_GEMTEXT_READER is false.
Diffstat (limited to 'src/guile/Makefile.am')
-rw-r--r--src/guile/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/guile/Makefile.am b/src/guile/Makefile.am
index 98f2873..09bb7da 100644
--- a/src/guile/Makefile.am
+++ b/src/guile/Makefile.am
@@ -1,5 +1,6 @@
# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2012,
# 2015, 2018, 2020 Ludovic Courtès <ludo@gnu.org>
+# Copyright 2022 Arun Isaac <arunisaac@systemreboot.net>
#
# This file is part of Skribilo.
#
@@ -59,6 +60,15 @@ EXTRA_DIST += skribilo/reader/rss-2.scm
endif !BUILD_RSS2_READER
+if BUILD_GEMTEXT_READER
+
+readers += skribilo/reader/gemtext.scm
+
+else !BUILD_GEMTEXT_READER
+
+EXTRA_DIST += skribilo/reader/gemtext.scm
+
+endif !BUILD_GEMTEXT_READER
engines = \
skribilo/engine/base.scm skribilo/engine/context.scm \