1# This file is part of libdaemon. 2# 3# Copyright 2003-2008 Lennart Poettering 4# 5# libdaemon is free software; you can redistribute it and/or modify it 6# under the terms of the GNU Lesser General Public License as 7# published by the Free Software Foundation, either version 2.1 of the 8# License, or (at your option) any later version. 9# 10# libdaemon is distributed in the hope that it will be useful, but 11# WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13# Lesser General Public License for more details. 14# 15# You should have received a copy of the GNU Lesser General Public 16# License along with libdaemon. If not, see 17# <http://www.gnu.org/licenses/>. 18 19dist_html_DATA = README.html style.css 20EXTRA_DIST = README.html.in 21 22MAINTAINERCLEANFILES = README.html 23CLEANFILES = 24 25doxygen: doxygen.conf 26 doxygen doxygen.conf 27 28maintainer-clean-local: 29 rm -rf reference 30 31if USE_LYNX 32dist_doc_DATA = README 33MAINTAINERCLEANFILES += README 34README: README.html 35 lynx --dump $^ | sed 's,file://localhost/.*/doc/README.html,README,' | sed 's,file://localhost/.*/doc/reference/,reference/,' > $@ 36 37CLEANFILES += README 38endif 39 40tidy: README.html 41 tidy -e < README.html 42 43.PHONY: doxygen tidy 44