]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Don't automatically try to build the man file -- assume it's already there. Add a...
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Mon, 10 Oct 2022 21:39:15 +0000 (22:39 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Mon, 10 Oct 2022 21:39:15 +0000 (22:39 +0100)
Makefile.am
configure.ac
man/Makefile.am [deleted file]

index 65ced9ded27cdbe57d4c0da6ca8d70bed4f07fdb..0d3ec66f72c37050a8ed7c8b618a7a9b2477d8b9 100644 (file)
@@ -1,6 +1,7 @@
-SUBDIRS = man
 ARFLAGS = cr
 
+man_MANS = $(top_srcdir)/man/shairport-sync.7
+
 lib_pair_ap_a_CFLAGS = -Wall -g -DCONFIG_GCRYPT -pthread
 lib_tinyhttp_a_CFLAGS = -pthread
 lib_dbus_interface_a_CFLAGS = -pthread
index 16d10eb9dcce8dd158a2ffe90af96fd5042fcf1a..b65aad3872a352ab08f09cf68639212158fc5050 100644 (file)
@@ -444,20 +444,6 @@ if  test "x${with_systemd}" = xyes ; then
         [AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])])
 fi
 
-# Look for xmltoman
-AC_CHECK_PROGS([XMLTOMAN], [xmltoman])
-if test -z "$XMLTOMAN"; then
-  AC_MSG_WARN([xmltoman not found - not installing man page])
-fi
-AM_CONDITIONAL([HAVE_XMLTOMAN], [test -n "$XMLTOMAN"])
-
-# Look for xmltoman
-AC_CHECK_PROGS([XSLTPROC], [xsltproc])
-if test -z "$XSLTPROC"; then
-  AC_MSG_WARN([xsltproc not found - not creating html version of man])
-fi
-AM_CONDITIONAL([HAVE_XSLTPROC], [test -n "$XSLTPROC"])
-
 # Checks for header files.
 AC_CHECK_HEADERS([getopt_long.h])
 AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h mach/mach.h memory.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h syslog.h unistd.h])
@@ -482,6 +468,6 @@ AC_FUNC_FORK
 AC_CHECK_FUNCS([atexit clock_gettime gethostname inet_ntoa memchr memmove memset mkfifo pow select socket stpcpy strcasecmp strchr strdup strerror strstr strtol strtoul])
 
 # Note -- there are AC_CONFIG_FILES directives further back, conditional on Avahi
-AC_CONFIG_FILES([Makefile man/Makefile])
+AC_CONFIG_FILES([Makefile])
 AC_CONFIG_FILES([scripts/shairport-sync],[chmod +x scripts/shairport-sync])
 AC_OUTPUT
diff --git a/man/Makefile.am b/man/Makefile.am
deleted file mode 100644 (file)
index c7d4dfb..0000000
+++ /dev/null
@@ -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