]>
Commit | Line | Data |
---|---|---|
ab1ecd3c LP |
1 | # This file is part of nss-myhostname. |
2 | # | |
3 | # Copyright 2008 Lennart Poettering | |
4 | # | |
5 | # nss-myhostname is free software; you can redistribute it and/or | |
6 | # modify it under the terms of the GNU Lesser General Public License | |
7 | # as published by the Free Software Foundation, either version 2.1 of | |
8 | # the License, or (at your option) any later version. | |
9 | # | |
10 | # nss-myhostname is distributed in the hope that it will be useful, | |
11 | # but 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 nss-myhostname. If not, If not, see | |
17 | # <http://www.gnu.org/licenses/>. | |
18 | ||
19 | dist_html_DATA = README.html style.css | |
20 | EXTRA_DIST = README.html.in | |
21 | ||
22 | MAINTAINERCLEANFILES = README.html | |
23 | CLEANFILES = | |
24 | ||
25 | if USE_LYNX | |
26 | dist_doc_DATA = README | |
27 | MAINTAINERCLEANFILES += README | |
28 | ||
29 | README: README.html | |
30 | lynx --dump $^ | sed 's,file://localhost/.*/doc/README.html,README,' > $@ | |
31 | ||
32 | CLEANFILES += README | |
33 | endif | |
34 | ||
35 | tidy: README.html | |
36 | tidy -qe < README.html ; true | |
37 | ||
38 | .PHONY: tidy |