From 3e5dde1685715125b57599e98aa4f16bbf075942 Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Thu, 23 Dec 2010 11:49:27 +1100 Subject: [PATCH 1/2] Only add README to noinst_DATA if USE_LYNX is defined --- doc/Makefile.am | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index fae9958..8b85e12 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -16,13 +16,14 @@ # License along with libcanberra. If not, see # . -noinst_DATA = README.html README +noinst_DATA = README.html EXTRA_DIST = $(noinst_DATA) style.css README.html.in MAINTAINERCLEANFILES = README.html CLEANFILES = if USE_LYNX +noinst_DATA += README README: README.html $(AM_V_GEN)lynx --dump $^ | sed 's,file://localhost/.*/doc/README.html,README,' > $@ -- 1.7.2.3