void-packages/srcpkgs/libu2f-server/patches/disable-help2man.patch

25 lines
827 B
Diff

--- src/Makefile.am.orig 2015-11-09 10:56:00.391780111 -0600
+++ src/Makefile.am 2015-11-09 10:56:14.510779188 -0600
@@ -40,21 +40,6 @@
BUILT_SOURCES = cmdline.c cmdline.h
MAINTAINERCLEANFILES = $(BUILT_SOURCES)
-dist_man_MANS = $(top_srcdir)/man/u2f-server.1
-DISTCLEANFILES = $(dist_man_MANS)
-
-$(top_srcdir)/man/u2f-server.1: $(srcdir)/u2f-server.c $(srcdir)/cmdline.ggo $(top_srcdir)/configure.ac
- $(HELP2MAN) \
- --output=$(top_builddir)/man/$@ $(builddir)/u2f-server$(EXEEXT) \
- --name="Yubico Universal 2nd Factor (U2F) Server Tool" \
- --no-info
-if ENABLE_H2A
- $(HELP2ADOC) \
- -e $(builddir)/u2f-server$(EXEEXT) \
- --name="Yubico Universal 2nd Factor (U2F) Server Tool" \
- > $(top_builddir)/man/$@.txt
-endif
-
clean-local:
rm -f $(top_builddir)/man/*.[1-9]
rm -f $(top_builddir)/man/*.[1-9].txt