10a48773fSEric van Gyzen# 20a48773fSEric van Gyzen# __ __ _ 30a48773fSEric van Gyzen# ___\ \/ /_ __ __ _| |_ 40a48773fSEric van Gyzen# / _ \\ /| '_ \ / _` | __| 50a48773fSEric van Gyzen# | __// \| |_) | (_| | |_ 60a48773fSEric van Gyzen# \___/_/\_\ .__/ \__,_|\__| 70a48773fSEric van Gyzen# |_| XML parser 80a48773fSEric van Gyzen# 9*ffd294a1SEnji Cooper# Copyright (c) 2017-2024 Sebastian Pipping <sebastian@pipping.org> 10cc68614dSXin LI# Copyright (c) 2017 Stephen Groat <stephen@groat.us> 11cc68614dSXin LI# Copyright (c) 2017 Joe Orton <jorton@redhat.com> 12*ffd294a1SEnji Cooper# Copyright (c) 2024 Tomas Korbar <tkorbar@redhat.com> 130a48773fSEric van Gyzen# Licensed under the MIT license: 140a48773fSEric van Gyzen# 150a48773fSEric van Gyzen# Permission is hereby granted, free of charge, to any person obtaining 160a48773fSEric van Gyzen# a copy of this software and associated documentation files (the 170a48773fSEric van Gyzen# "Software"), to deal in the Software without restriction, including 180a48773fSEric van Gyzen# without limitation the rights to use, copy, modify, merge, publish, 190a48773fSEric van Gyzen# distribute, sublicense, and/or sell copies of the Software, and to permit 200a48773fSEric van Gyzen# persons to whom the Software is furnished to do so, subject to the 210a48773fSEric van Gyzen# following conditions: 220a48773fSEric van Gyzen# 230a48773fSEric van Gyzen# The above copyright notice and this permission notice shall be included 240a48773fSEric van Gyzen# in all copies or substantial portions of the Software. 250a48773fSEric van Gyzen# 260a48773fSEric van Gyzen# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 270a48773fSEric van Gyzen# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 280a48773fSEric van Gyzen# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN 290a48773fSEric van Gyzen# NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 300a48773fSEric van Gyzen# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 310a48773fSEric van Gyzen# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 320a48773fSEric van Gyzen# USE OR OTHER DEALINGS IN THE SOFTWARE. 330a48773fSEric van Gyzen 346b2c1e49SXin LI.PHONY: dist-hook # not inside conditional to avoid automake warning 356b2c1e49SXin LI 36*ffd294a1SEnji Cooperif WITH_MANPAGE 370a48773fSEric van Gyzendist_man_MANS = xmlwf.1 380a48773fSEric van Gyzen 390a48773fSEric van Gyzenxmlwf.1: xmlwf.xml 400a48773fSEric van Gyzen -rm -f $@ 41*ffd294a1SEnji Cooper test "x$(DOCBOOK_TO_MAN)" != x && $(DOCBOOK_TO_MAN) $< 420a48773fSEric van Gyzen test -f $@ || mv XMLWF.1 $@ 43*ffd294a1SEnji Cooperendif 44*ffd294a1SEnji Cooper 45*ffd294a1SEnji Cooperif !WITH_DISTRIBUTABLE_MANPAGE 466b2c1e49SXin LIdist-hook: 470a48773fSEric van Gyzen @echo 'ERROR: Configure with --with-docbook for "make dist".' 1>&2 480a48773fSEric van Gyzen @false 490a48773fSEric van Gyzenendif 500a48773fSEric van Gyzen 51*ffd294a1SEnji Cooperif !WITH_PREBUILT_MANPAGE 52*ffd294a1SEnji CooperCLEANFILES = xmlwf.1 53*ffd294a1SEnji Cooperendif 540a48773fSEric van Gyzen 550a48773fSEric van GyzenEXTRA_DIST = \ 56cc68614dSXin LI ok.min.css \ 570a48773fSEric van Gyzen reference.html \ 580a48773fSEric van Gyzen style.css \ 590a48773fSEric van Gyzen xmlwf.xml 60