diff options
author | Ludovic Courtès | 2012-06-01 18:14:16 +0200 |
---|---|---|
committer | Ludovic Courtès | 2012-06-01 18:14:16 +0200 |
commit | 0d38cbba0b9bbfd3c885c7f24e2b224579a334a4 (patch) | |
tree | 12d4d7229fab634b6ed0aa497b06d374f8577c02 /src/guile/Makefile.am | |
parent | 1392f286a810f4cc227ced3cf832495b4eaae974 (diff) | |
download | skribilo-0d38cbba0b9bbfd3c885c7f24e2b224579a334a4.tar.gz skribilo-0d38cbba0b9bbfd3c885c7f24e2b224579a334a4.tar.lz skribilo-0d38cbba0b9bbfd3c885c7f24e2b224579a334a4.zip |
build: Don't build/test the RSS-2 reader when its requirements aren't met.
Reported by rvclayton@verizon.net (R. Clayton).
* configure.ac: Add `BUILD_RSS2_READER' Automake conditional.
* src/guile/Makefile.am (readers): Make `skribilo/reader/rss-2.scm'
conditional on `BUILD_RSS2_READER'.
(EXTRA_DIST)[!BUILD_RSS2_READER]: Add `skribilo/reader/rss-2.scm'.
* tests/Makefile.am (TESTS): Make `readers/rss-2.test' conditional on
`BUILD_RSS2_READER'.
(EXTRA_DIST)[!BUILD_RSS2_READER]: Add `readers/rss-2.test'.
Diffstat (limited to 'src/guile/Makefile.am')
-rw-r--r-- | src/guile/Makefile.am | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/guile/Makefile.am b/src/guile/Makefile.am index eb44261..ea5df96 100644 --- a/src/guile/Makefile.am +++ b/src/guile/Makefile.am @@ -47,8 +47,18 @@ SOURCES = \ SOURCES += $(readers) $(packages) $(engines) readers = \ - skribilo/reader/skribe.scm skribilo/reader/outline.scm \ - skribilo/reader/rss-2.scm + skribilo/reader/skribe.scm skribilo/reader/outline.scm + +if BUILD_RSS2_READER + +readers += skribilo/reader/rss-2.scm + +else !BUILD_RSS2_READER + +EXTRA_DIST += skribilo/reader/rss-2.scm + +endif !BUILD_RSS2_READER + engines = \ skribilo/engine/base.scm skribilo/engine/context.scm \ |