summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 4da58be..81feea7 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -14,17 +14,20 @@
# implied. See the License for the specific language governing
# permissions and limitations under the License.
-noinst_DATA = README.html README
+noinst_DATA = README.html
EXTRA_DIST = $(noinst_DATA) style.css README.html.in
-MAINTAINERCLEANFILES = README README.html
+MAINTAINERCLEANFILES = README.html
CLEANFILES =
if USE_LYNX
+noinst_DATA += README
+MAINTAINERCLEANFILES += README
+CLEANFILES += README
+
README: README.html
lynx --dump $^ | sed 's,file://localhost/.*/doc/README.html,README,' > $@
-CLEANFILES += README
endif
tidy: README.html