Fix compilation for lack of docbook2x-man

The guard in doc/Makefile.am was supposed to protect against
publishing release tarballs lacking a compiled xmlwf.1 man page
without noticing.  Now it does no more than advertised.
This commit is contained in:
Sebastian Pipping 2019-01-26 20:14:30 +01:00
parent 3826ac43e9
commit 95455453b1
2 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,7 @@ Release x.x.x XXX XXXXXX XX XXXX
#228 Autotools: Modernize configure.ac
#243 Windows: Fix syntax of .def module definition files
#245 #246 Autotools: Fix check for -fvisibility=hidden for Clang
#247 #248 Autotools: Fix compilation for lack of docbook2x-man
Special thanks to:
Benjamin Peterson

View File

@ -28,14 +28,17 @@
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
# USE OR OTHER DEALINGS IN THE SOFTWARE.
.PHONY: dist-hook # not inside conditional to avoid automake warning
if WITH_DOCBOOK
dist_man_MANS = xmlwf.1
xmlwf.1: xmlwf.xml
if WITH_DOCBOOK
-rm -f $@
$(DOCBOOK_TO_MAN) $<
test -f $@ || mv XMLWF.1 $@
else
dist-hook:
@echo 'ERROR: Configure with --with-docbook for "make dist".' 1>&2
@false
endif