Don't automatically try to build the man file -- assume it's already there. Add a separate Makefile for the man directory. Only generate the man file (not the html file) by default. Specify the man file in this directory for installation during installation of shairport sync

This commit is contained in:
Mike Brady
2022-10-10 22:39:15 +01:00
parent 75f5fe836c
commit 86a52964f9
3 changed files with 3 additions and 29 deletions
-13
View File
@@ -1,13 +0,0 @@
man_MANS = shairport-sync.7
if HAVE_XMLTOMAN
shairport-sync.7: shairport-sync.7.xml
xmltoman $< > $@
endif
if HAVE_XSLTPROC
all-local: shairport-sync.html
shairport-sync.html: xmltoman.xsl shairport-sync.7.xml
xsltproc $^ > $@
endif