2017-08-11 13:14:18 -04:00
|
|
|
#
|
|
|
|
# __ __ _
|
|
|
|
# ___\ \/ /_ __ __ _| |_
|
|
|
|
# / _ \\ /| '_ \ / _` | __|
|
|
|
|
# | __// \| |_) | (_| | |_
|
|
|
|
# \___/_/\_\ .__/ \__,_|\__|
|
|
|
|
# |_| XML parser
|
|
|
|
#
|
2021-05-13 16:03:25 -04:00
|
|
|
# Copyright (c) 2017-2021 Sebastian Pipping <sebastian@pipping.org>
|
2021-05-01 19:49:02 -04:00
|
|
|
# Copyright (c) 2017 Stephen Groat <stephen@groat.us>
|
|
|
|
# Copyright (c) 2017 Joe Orton <jorton@redhat.com>
|
2017-08-11 13:14:18 -04:00
|
|
|
# Licensed under the MIT license:
|
|
|
|
#
|
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining
|
|
|
|
# a copy of this software and associated documentation files (the
|
|
|
|
# "Software"), to deal in the Software without restriction, including
|
|
|
|
# without limitation the rights to use, copy, modify, merge, publish,
|
|
|
|
# distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
|
|
# persons to whom the Software is furnished to do so, subject to the
|
|
|
|
# following conditions:
|
|
|
|
#
|
|
|
|
# The above copyright notice and this permission notice shall be included
|
|
|
|
# in all copies or substantial portions of the Software.
|
|
|
|
#
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
|
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
|
|
# NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
|
|
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
|
|
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
|
|
# USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
|
2019-01-26 14:14:30 -05:00
|
|
|
.PHONY: dist-hook # not inside conditional to avoid automake warning
|
|
|
|
|
|
|
|
if WITH_DOCBOOK
|
2017-08-11 13:14:18 -04:00
|
|
|
dist_man_MANS = xmlwf.1
|
|
|
|
|
2017-10-04 11:11:01 -04:00
|
|
|
xmlwf.1: xmlwf.xml
|
2017-11-02 04:29:15 -04:00
|
|
|
-rm -f $@
|
2017-10-21 13:50:55 -04:00
|
|
|
$(DOCBOOK_TO_MAN) $<
|
2017-11-02 04:29:15 -04:00
|
|
|
test -f $@ || mv XMLWF.1 $@
|
2017-10-21 13:25:40 -04:00
|
|
|
else
|
2019-01-26 14:14:30 -05:00
|
|
|
dist-hook:
|
2017-10-21 13:25:40 -04:00
|
|
|
@echo 'ERROR: Configure with --with-docbook for "make dist".' 1>&2
|
|
|
|
@false
|
|
|
|
endif
|
2017-08-11 13:14:18 -04:00
|
|
|
|
|
|
|
# https://www.gnu.org/software/automake/manual/automake.html#What-Gets-Cleaned
|
|
|
|
.PHONY: clean-local
|
|
|
|
clean-local: clean-local-check
|
|
|
|
|
|
|
|
.PHONY: clean-local-check
|
|
|
|
clean-local-check:
|
2017-10-21 13:49:41 -04:00
|
|
|
$(RM) xmlwf.1
|
2017-08-11 13:14:18 -04:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2021-05-04 15:53:00 -04:00
|
|
|
ok.min.css \
|
2017-08-11 13:14:18 -04:00
|
|
|
reference.html \
|
|
|
|
style.css \
|
|
|
|
valid-xhtml10.png \
|
|
|
|
xmlwf.xml
|